Cell style script not working in CS6
I picked up the following script from the forum that is supposed to apply cell styles that I created to various cells.
01.var myTable = app.activeDocument.stories.everyItem().tables;
02. for (var n=0; n < myTable.length; n++){
03.//~ myTable[n].appliedTableStyle = “NewTable”;
04.//~ myTable[n].cells.everyItem().appliedCellStyle = app.activeDocument.cellStyles.item(“[None]“);
05.//~ myTable[n].cells.everyItem().clearCellStyleOverrides (true);
06.
07.// Please check the table cell styles name is correct or not?
08. var myActiveTable = myTable[n];
09. myActiveTable.rows.itemByRange(0,-2).cells.everyItem().appliedCellStyle = “TTable_AA_Tint”;
10. myActiveTable.rows[0].cells.everyItem().appliedCellStyle = “Table_Title”;//First Row
11. myActiveTable.rows.itemByRange(-2,-1).cells.everyItem().appliedCellStyle = “Table_AA_Tint”;//Last Row
12. }
Whenever I run the script, I get the following message. Can someone please tell me what I need to change or fix? Any feedback would be highly appreciated
JavaScript Error!
Error Numnber:25
Error String: Expected:;
Engine:main
File C:\Program Files (x86)\Adobe\Adobe InDesign CS6\Scripts\Scripts Panel\AutoFormatTablesWithCellStyles.jsx
Line:2
Source: 01.var myTable=
app.activeDocument.stories.everyItem().tables;
Offending Text:myTable
Laubender, I am hoping you can help me with another question. How do I specify a specific cell to apply a specific cell style to. If I have a table with 3 columns and 3 rows and need to apply a different cell style to EACH of the 9 cells, what numbers do I change? I was able to figure out how to style various rows but want to apply to a specific cell. Thanks in advance.
Similar Messages
-
Apply Nested Styles Script not working for me anymore
//DESCRIPTION: Applies nested styles as directly applied character styles. WARNING: This script will override any character styles which are directly applied to the text with the nested styles applied, and formatting might change!
(function(){
function IsValid (obj){
var err;
try{
if(!obj){return false}
if(kAppVersion>=6){
return obj.isValid;
var test = obj.parent;
return true;
catch(err){return false;}
function ResetFindPrefs(){
if(kAppVersion<5){app.findPreferences = null;}
else{app.findTextPreferences = null;ResetFindChangeOptions();}
function ResetFindChangeOptions(){
app.findChangeTextOptions.properties = {
includeLockedStoriesForFind:false,
includeLockedLayersForFind:false,
includeHiddenLayers:false,
includeMasterPages:false,
includeFootnotes:false,
wholeWord:false,
caseSensitive:false
function GetTempColor(doc){
for(var i=0;i<doc.swatches.length;i++){
if(doc.swatches[i].label == 'harbsTempColor'){return doc.swatches[i]}
return doc.colors.add({label:'harbsTempColor'});
function GetAppColor(colorName){
for(var i=0;i<app.swatches.length;i++){
if(app.swatches[i].name==colorName){return app.swatches[i]}
return null;
if(app.documents.length==0){return}
kAppVersion = parseFloat(app.version);
var doc = app.documents[0];
if(kAppVersion<5){
var charStyles = doc.characterStyles;
}else{
var charStyles = doc.allCharacterStyles;
var tempDocColor = GetTempColor(doc);
var colorName = tempDocColor.name;
var tempAppColor = GetAppColor(colorName);
var removeAppColor=false;
if(!tempAppColor){
removeAppColor=true;
tempAppColor=app.colors.add({name:colorName})
for(var i=1;i<charStyles.length;i++){
var savedColor = charStyles[i].underlineGapColor;
var finds=undefined;
var findsLength=0;
do{
if(finds){findsLength=finds.length}
charStyles[i].underlineGapColor=tempDocColor;
ResetFindPrefs();
if(kAppVersion<5){
app.findPreferences.underlineGapColor = tempDocColor;
app.changePreferences.appliedCharacterStyle = charStyles[i];
doc.search("",false,false,'');
break;
}else{
if(kAppVersion<6){
app.findTextPreferences.underlineGapColor = tempAppColor;
}else{
app.findTextPreferences.underlineGapColor = tempDocColor;
app.changeTextPreferences.appliedCharacterStyle = charStyles[i];
finds = doc.changeText();
//alert(finds.length);
}while(findsLength!=finds.length);
charStyles[i].underlineGapColor=savedColor;
tempDocColor.remove();
if(removeAppColor){tempAppColor.remove()}
This was a script to apply nested styles directly to the text as character styles.It was supplied to me by someone on this forum to help make a file adaptable to an epub doc. It has worked fine for many months but now it does not. I am wondering if the cause is that I have added two nested styles in the paragraphs, where before there was only one. The paras. are currently set up with nested styles as follows:[none] up to En Space, italic through 5 sentences. I am using 5 sentences because I can't figure how to use a para. end as a limiter. I know this is confused but any help will be appreciated. ThanksThat looks like mine (and someone didn't follow my request on this page) :
http://in-tools.com/scripts.html
What doesn't work?
You can PM me, and I'll try to figure out what's wrong...
Harbs -
Script not working in cs6, after working in cs5
Hello,
I have a script and when I try to access app.documents.length
or app.documents[0] or app.activeDocument
then I get the error:
General photoshop error occurred. This functionality may not be available in this version of Photoshop
- <no additional info is available>
any idea ?
ThanksThanks Paul,
My script is like this:
<javascriptresource>
<name>$$$/JavaScripts/ExportGeotiff/Menu=Export Geotiff...</name>
<about>$$$/JavaScripts/ExportGeotiff/About=Export Geotiff ^r^rCopyright 2011 Company. All rights reserved.^r^rExports document into a Geotiff image.</about>
</javascriptresource>
try
alert("OK HERE");
exportGeoTiff();
catch(err)
alert(err.description);
function exportGeoTiff()
if (app.documents.length == 0) //***** CRASHES HERE
error("No document to export.");
var scriptPath = getScriptPath();
var geotifcp = getGeotifcp(scriptPath);
var doc = app.activeDocument;
var geo = getGeoInfo(doc);
var inputGeoFile = saveGeoInfo(scriptPath, geo);
var file = saveDoc(doc);
var inputTiffFile = prepareInputTiff(scriptPath, file);
var outputTiffFile = runGeotifcp(geotifcp, scriptPath, file);
inputTiffFile.remove();
inputGeoFile.remove();
outputTiffFile.remove();
function error(err)
throw new Error(err);
function getScriptPath()
var path = "C:\\Program Files (x86)\\Company\\Common\\Maps\\";
var folder = Folder(path);
if (!folder.exists)
path = "C:\\Program Files\\Company\\Common\\Maps\\";
folder = Folder(path);
if (!folder.exists)
error("Could not find map common folder.");
return path;
function getGeotifcp(path)
var geotifcp = File(path + "geotifcp.cmd");
if (!geotifcp || !geotifcp.exists)
error("Could not find geotifcp utility.");
return geotifcp;
function getGeoInfo(doc)
var raw = doc.xmpMetadata.rawData;
var tag = "xmpMM:RenditionParams>";
var geo = raw.substring(raw.indexOf("<" + tag) + tag.length + 1, raw.indexOf("</" + tag));
if (!geo || (geo.length == 0))
error("Document has no Geo-Reference information. Export cancelled.");
//escape XML:
geo = geo.replace(/
/g, "\r\n");
return geo;
function saveGeoInfo(path, geo)
var inputGeoFile = File(path + "input.geo");
if (!inputGeoFile)
error("Could not create geo input file.");
if (!inputGeoFile.open("w"))
error("Could not open geo input file.");
if (!inputGeoFile.write(geo))
error("Could not write to geo input file.");
if (!inputGeoFile.close())
error("Could not close geo input file.");
return inputGeoFile;
function saveDoc(doc)
var file = File.saveDialog("Save As", "Tiff:*.tif");
if (!file)
error("Save cancelled");
doc.saveAs(file, new TiffSaveOptions(), true, Extension.LOWERCASE);
if (file.length == 0)
error("Saving to tiff failed. Export cancelled.");
return file;
function prepareInputTiff(path, file)
var inputTiffFile = File(path + "input.tif");
if (!inputTiffFile)
error("Could not create input file.");
if (inputTiffFile.exists)
if (!inputTiffFile.remove())
error("Could not delete input file.");
if (!file.copy(inputTiffFile.fsName))
error("Could not copy image to input file.");
if (!inputTiffFile.exists)
error("Problem copying image to input file.");
return inputTiffFile;
function runGeotifcp(geotifcp, path, file)
if (!geotifcp.execute())
error("Failed adding geo info to tiff.");
$.sleep(1000);//let geotifcp finish
var outputTiffFile = File(path + "output.tif");
if (!outputTiffFile || !outputTiffFile.exists)
error("Could not create geotiff file.");
if (!outputTiffFile.copy(file.fsName))
error("Failed replacing tiff image with Geotiff version.");
return outputTiffFile; -
Rotate tool not working in cs6. It says "Could not complete your request because it only works with OpenGL enabled document windows." Its worked fine in the past....
-CharlieH23Copy and paste only this area, you may have to scroll down.
Adobe Photoshop Version: 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 2
Logical processor count: 4
Processor speed: 2494 MHz
Built-in memory: 6019 MB
Free memory: 3360 MB
Memory available to Photoshop: 5227 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
OpenCL Version: 1.2
OpenGL Version: 2.1
Video Rect Texture Size: 16384
OpenGL Memory: 2112 MB
Video Card Vendor: Intel
Video Card Renderer: Intel(R) HD Graphics 4000
Display: 1
Display Bounds: top=0, left=0, bottom=768, right=1366
Video Card Number: 1
Video Card: Intel(R) HD Graphics 4000
Driver Version: 10.18.10.3958
Driver Date: 20140930000000.000000-000
Video Card Driver: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,igd10iumd32
Video Mode: 1366 x 768 x 4294967296 colors
Video Card Caption: Intel(R) HD Graphics 4000
Video Card Memory: 2112 MB -
Style selector not working...
Why does the mx|ToggleButtonBar style selector not work in the following code?
<?xml version="1.0"?>
<!-- Simple example to demonstrate the Halo TabNavigator layout container. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">
<fx:Style>
/* Not working */
mx|ToggleButtonBar{
buttonStyleName:"mytoggleButtonBarButtonStyle";
firstButtonStyleName:"mytoggleButtonBarButtonStyle"
/* okay */
#tbb{
buttonStyleName:"mytoggleButtonBarButtonStyle";
firstButtonStyleName:"mytoggleButtonBarButtonStyle"
.mytoggleButtonBarButtonStyle{
skin: ClassReference("skins.custButtonSkin");
</fx:Style>
<s:VGroup>
<mx:ToggleButtonBar id="tbb">
<mx:dataProvider>
<fx:Array>
<fx:String>Flex</fx:String>
<fx:String>Flash</fx:String>
<fx:String>ColdFusion</fx:String>
</fx:Array>
</mx:dataProvider>
</mx:ToggleButtonBar>
<mx:ToggleButtonBar id="tbb2">
<mx:dataProvider>
<fx:Array>
<fx:String>Flex</fx:String>
<fx:String>Flash</fx:String>
<fx:String>ColdFusion</fx:String>
</fx:Array>
</mx:dataProvider>
</mx:ToggleButtonBar>
</s:VGroup>
</s:Application><?xml version="1.0"?>
<!-- Simple example to demonstrate the Halo TabNavigator layout container. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">
<fx:Style>
@namespace mx "library://ns.adobe.com/flex/halo";
@namespace s "library://ns.adobe.com/flex/spark";
/* Not working */
mx|ToggleButtonBar{
buttonStyleName:"mytoggleButtonBarButtonStyle";
firstButtonStyleName:"mytoggleButtonBarButtonStyle"
/* okay */
#tbb{
buttonStyleName:"mytoggleButtonBarButtonStyle";
firstButtonStyleName:"mytoggleButtonBarButtonStyle"
.mytoggleButtonBarButtonStyle{
skin: ClassReference("skins.custButtonSkin");
</fx:Style>
<s:VGroup>
<mx:ToggleButtonBar id="tbb">
<mx:dataProvider>
<fx:Array>
<fx:String>Flex</fx:String>
<fx:String>Flash</fx:String>
<fx:String>ColdFusion</fx:String>
</fx:Array>
</mx:dataProvider>
</mx:ToggleButtonBar>
<mx:ToggleButtonBar id="tbb2">
<mx:dataProvider>
<fx:Array>
<fx:String>Flex</fx:String>
<fx:String>Flash</fx:String>
<fx:String>ColdFusion</fx:String>
</fx:Array>
</mx:dataProvider>
</mx:ToggleButtonBar>
</s:VGroup>
</s:Application> -
Photoshop extension building not working for cs6, works for the rest
I am building an extension for photoshop the manifest file is as below:
<?xml version="1.0" encoding="UTF-8"?>
<ExtensionManifest Version="4.0" ExtensionBundleId="Kit" ExtensionBundleVersion="2.0.0"
ExtensionBundleName="Kit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ExtensionList>
<Extension Id="Kit.extension1" Version="2.0.0" />
</ExtensionList>
<ExecutionEnvironment>
<HostList>
<Host Name="PHSP" Version="[13.0,15.9]" />
<Host Name="PHXS" Version="[13.0,15.9]" />
</HostList>
<LocaleList>
<Locale Code="All" />
</LocaleList>
<RequiredRuntimeList>
<RequiredRuntime Name="CSXS" Version="3.0" />
</RequiredRuntimeList>
</ExecutionEnvironment>
<DispatchInfoList>
<Extension Id="Kit.extension1">
<DispatchInfo >
<Resources>
<MainPath>./index.html</MainPath>
<ScriptPath>./Kit.jsx</ScriptPath>
</Resources>
<Lifecycle>
<AutoVisible>true</AutoVisible>
</Lifecycle>
<UI>
<Type>Panel</Type>
<Menu>Beauty Retouching Kit</Menu>
<Geometry>
<Size>
<Height>580</Height>
<Width>250</Width>
</Size>
<MaxSize>
<Height>580</Height>
<Width>250</Width>
</MaxSize>
<MinSize>
<Height>580</Height>
<Width>250</Width>
</MinSize>
</Geometry>
<Icons>
<Icon Type="Normal">./pictures/thumb/Icon.png</Icon>
<Icon Type="RollOver">./pictures/thumb/Icon.png</Icon>
<Icon Type="DarkNormal">./pictures/thumb/Icon.png</Icon>
<Icon Type="DarkRollOver">./pictures/thumb/Icon.png</Icon>
</Icons>
</UI>
</DispatchInfo>
</Extension>
</DispatchInfoList>
</ExtensionManifest>
I tried this code for photoshop CC and CC 2014, it works for both but I couldn't get it to run for cs6 it gives the below error from the extension manager:
so isn't Version="[13.0,15.9]" correct? why would it not work for cs6? thanks in advance.Hi,
CS6 doesn't support HTML Panels but Flash ones, this should be the why the Adobe Extension Manager fails.
You might find help here (Flash): Creative Suite Extension Builder and here (HTML): Extension Builder 3
Davide Barranca
www.davidebarranca.com
www.cs-extensions.com -
Lighting Effect not work in CS6*
Why Filter/ Render/ Lighting Effect not work in CS6?
It's not work only in CS6 Beta or in anything else :-/. It's Useful with meA bit more information would be helpful. What is happening on your system when you go to lighting effects?
What system are you running on? What video card are you using? Are you using the most recent driver?
Do check our system FAQ as GPU is requried for lignting effects to work properly.
FAQ: What features use the GPU and how do I troubleshoot GPU issues?
Pattie -
My Adobe Configurator panels do not work in CS6 can anyone help?
my Adobe Configurator panels do not work in CS6 can anyone help?
See this post http://forums.adobe.com/message/4286318?tstart=0, it helps me to update one of my panels.
regards -
Paste and match style does not work in some cases
Dear Sir
My "Paste and Match Style" does not work with some sites.What happens if you put table Table_1 into the Analytic View?
Also go ahead and and update HANA, Rev.60 is very old by now. -
My HP photo smart C6280 printer does not work with CS6. Any Help?
My HP photo smart C6280 printer does not work with CS6. Any Help?
How does it "not work"?
What OS version are you using? -
Empty-cells:show CSS style is not work
this is some visual glitch. empty cells of tables not showed as default. And css attribute empty-cells:show not works.
Hey there, It is better if you provide a link.
We need to see how you are calling it. The stylesheet you think is being called may not be etc. -
How to fix some scripts not working just in CC?
Tried to use a well known script in IDCC:
TurnGrepStyles2CharStyles.jsx
and not worked; but in CS6 it was running.
How to fix it?This is the Script in question
TurnGrepStyles2CharStyles
An InDesign CS4 JavaScript by FourAces, The Final Touch 2006
Based on the original "Turn grep styles to character styles.scpt" AppleScript by Nye Hughes
Version 1.0.0
Converts all the Paragraph Styles applied GREP Styles to standard Character Style applience.
if(app.documents.length != 0){
var myDoc = app.activeDocument;
var myParaStyles = myDoc.paragraphStyles;
var myCount = 0;
var myCharStyleList = "";
for(i=0; i<myParaStyles.length; i++){
var myGrepStyles = myParaStyles[i].nestedGrepStyles;
for(n=0; n<myGrepStyles.length; n++){
var myGrepFind = myGrepStyles[n].grepExpression;
var myFindParaStyle = myParaStyles[i];
var myChangeCharStyle = myGrepStyles[n].appliedCharacterStyle;
var myGrepChange = NothingEnum.nothing;
var myFoundItems = runFindChange(myDoc, myGrepFind, myGrepChange, myFindParaStyle, myChangeCharStyle);
myCount = myCount + myFoundItems.length;
myCharStyleList = myCharStyleList+"\""+myGrepStyles[n].appliedCharacterStyle.name+"\", ";
if(myCount > 0){
alert("Applied character styles:\r"+myCharStyleList+"to "+myCount+" instances of Grep Styled text.");
else{
alert("No instances of grep styled characters found.\rNothing Changed.");
else{
alert("Where\'s my document?!\rWell, I\'ll actually need one to perform my magic...");
function runFindChange(myObject, FindWhat, ChangetoWhat, FindParaStyle, ChangeCharStyle){
//Clear the find/change preferences.
clearFindChangePrefs()
//Set the find options.
app.findGrepPreferences.appliedParagraphStyle = FindParaStyle;
app.findGrepPreferences.appliedCharacterStyle = null;
app.changeGrepPreferences.appliedCharacterStyle = ChangeCharStyle;
app.findGrepPreferences.findWhat = FindWhat;
app.changeGrepPreferences.changeTo = ChangetoWhat;
return myObject.changeGrep();
function setFindChangeOptionstoDefaults(){
var myFindChangeTextOpts = app.findChangeTextOption;
myFindChangeTextOpts.caseSensitive = false;
myFindChangeTextOpts.includeFootnotes = true;
myFindChangeTextOpts.includeHiddenLayers = false;
myFindChangeTextOpts.includeLockedLayersForFind = false;
myFindChangeTextOpts.includeLockedStoriesForFind = false;
myFindChangeTextOpts.includeMasterPages = true;
myFindChangeTextOpts.wholeWord = true;
function clearFindChangePrefs(){
//find/change text preferences
app.findTextPreferences = null;
app.changeTextPreferences = null;
//find/change grep preferences
app.findGrepPreferences = null;
app.changeGrepPreferences = null;
//find/change glyph preferences
app.findGlyphPreferences = null;
app.changeGlyphPreferences = null; -
Adobe3DAndVideoServer.exe not working when CS6 Bridge Launched 64 Bit on Win 7 64 Bit
QuickTime 7.7.3
Windows 7 64 Bit
All windows updates applied
Video driver updated
all adobe updates ran for bridge and PS CS6
Cleaned out preferences
Launching Bridge now responds with "Adobe3DAndVideoServer.exe not working" with no help of what to do about the issue?
I did notice that this problem seemed to start after a recent upgrade to Quicktime?
Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 3392 MHz
Built-in memory: 8173 MB
Free memory: 4222 MB
Memory available to Photoshop: 7235 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: ATI Technologies Inc.
Video Card Renderer: AMD Radeon HD 6450
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1080, right: 1920
Video Card Number: 1
Video Card: AMD Radeon HD 6450
OpenCL Unavailable
Driver Version: 9.10.8.0
Driver Date: 20121022000000.000000-000
Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: AMD Radeon HD 6450
Video Card Memory: 1723 MB
Video Rect Texture Size: 16384
Serial number: 91198659860789516002
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\FUZZYH~1\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
Startup, 1.34T, 457.9G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/06/05-15:16:32 66.507768 66.507768
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/06/26-12:17:19 4.0.95 66.510504
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1654
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/06/05-15:16:32 66.507768 66.507768
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/06/05-15:16:32 66.507768 66.507768
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/06/05-15:16:32 66.507768 66.507768
BIBUtils.dll BIBUtils 2012/06/05-15:16:32 66.507768 66.507768
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/06/05-15:16:32 66.507768 66.507768
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt42.dll International Components for Unicode 4, 2, 0, 0
icuin42.dll International Components for Unicode 4, 2, 0, 0
icuuc42.dll International Components for Unicode 4, 2, 0, 0
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
onOneActivationToolbox.dll onOneActivationToolbox 1.1
onOneToolboxPlus.dll onOne Toolbox2 Dynamic Link Library 2.2.0
OnOneWidgets.dll OnOneWidgets dll 2.5
ONProxySupport.dll TODO: <Product name> 1.0.0.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
wu3d.dll U3D Writer 9.3.0.113
zlib.dll zlib 1.2.5
Required plug-ins:
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Bas Relief 13.0
BMP 13.0
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Clouds 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Collada 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Difference Clouds 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Embed Watermark 4.0
Extrude 13.0
FastCore Routines 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Measurement Core 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Mezzotint 13.0
MMXCore Routines 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Picture Package Filter 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Pinch 13.0
Pixar 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0.1
Shear 13.0
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Sumi-e 13.0
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
Underpainting 13.0
Vanishing Point 13.0
Variations 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Viveza 2 2.0.9.20903
Water Paper 13.0
Watercolor 13.0
Wave 13.0
WIA Support 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Wind 13.0
Wireless Bitmap 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
ZigZag 13.0
Optional and third party plug-ins:
BackgroundFilter NO VERSION
Camera Raw 7.2
Color Efex Pro 4 4,05
Color Efex Pro 4 4,05
Dfine 2.0 NO VERSION
FineStructuresFilter NO VERSION
HDR Efex Pro 2 2,03
HotPixelsFilter NO VERSION
Merge to HDR Efex Pro 2 2,03
Nik Selective Tool 2.1.4.20903
Perfect Effects Free 3.0.2
Perfect Effects Free Filter 3.0.2
Perfect Effects Free Smart Filter 3.0.2
Perfect Resize 7.0 Professional Edition 7.0.7
Perfect Resize 7.0 Professional Edition Batch 7.0.7
Perfect Resize 7.0 Professional Edition Filter 7.0.7
Perfect Resize 7.0 Professional Edition Format 7.0.7
PhotoFrame 4.6 Professional Edition 4.6.7
PhotoFrame 4.6 Professional Edition Batch 4.6.7
PhotoFrame 4.6 Professional Edition Hidden 4.6.7
Portrait Professional 1, 4, 1, 0
ShadowsFilter NO VERSION
Sharpener Pro 3.0: (1) RAW Presharpener 3.0.10.20903
Sharpener Pro 3.0: (2) Output Sharpener 3.0.10.20903
SkinFilter NO VERSION
SkyFilter NO VERSION
StrongNoiseFilter NO VERSION
Plug-ins that failed to load: NONE
Flash: NONE
Installed TWAIN devices: NONEThis is a new one on me.
It's a server program to interface with QuickTime and some other problematic services.
If you use video or 3D in Photoshop Extended, you probably need it.
Sounds like you are correct in that it has to do wtih Quicktime. Do you have PS extended? -
Script not working in SharePoint content editor webpart
Hi All,
<html>
<head>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function () {
//Call your function here like
//retrieveListItems();
ExecuteOrDelayUntilScriptLoaded(retrieveListItems, "SP.js");
var siteUrl = '/vceo/PMO/EPMO/';
var close1 = ''; var close2 = ''; var high = ''; var low = ''; var medium = ''; var lowMedium = ''; var mediumHigh = '';
var open1 = ''; var open2 = ''; var high1 = ''; var low1 = ''; var medium1 = ''; var lowMedium1 = ''; var mediumHigh1 = '';
var count = 0; var count1 = 0;
var initiate = 0; var planning = 0; var execution = 0; var closing = 0;
var sumMinimal = 0; var sumModerate = 0; var sumCritical = 0; var sumSevere = 0;
var sumHighlyLikely = 0; var sumLikely = 0; var sumSomewhat = 0; var sumUnlikely = 0;
var sumBudget = 0; var sumCommitted = 0; var sumConsumption = 0;
function retrieveListItems() {
alert("Welcome to Dashboard");
var clientContext = new SP.ClientContext(siteUrl); alert("site url");
var oList = clientContext.get_web().get_lists().getByTitle('Project Issues and Risks');
var oList1 = clientContext.get_web().get_lists().getByTitle('Project');
var oList2 = clientContext.get_web().get_lists().getByTitle('Risk Impact');
var oList3 = clientContext.get_web().get_lists().getByTitle('Risk Probability'); alert("get by title");
var camlQuery = new SP.CamlQuery(); var camlQuery1 = new SP.CamlQuery(); var camlQuery2 = new SP.CamlQuery(); var camlQuery3 = new SP.CamlQuery(); var camlQuery4 = new SP.CamlQuery(); var camlQuery5 = new SP.CamlQuery(); var camlQuery6 = new SP.CamlQuery();
camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Project_x0020_Issue_x0020_Status" /><Value Type="Choice">Issue</Value></Eq></Where></Query></View>');
camlQuery1.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Project_x0020_Issue_x0020_Status" /><Value Type="Choice">Risk</Value></Eq></Where></Query></View>');
camlQuery2.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Overall_x0020_Status" /><Value Type="Choice">Open</Value></Eq></Where></Query></View>');
camlQuery3.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Overall_x0020_Status" /><Value Type="Choice">Closed</Value></Eq></Where></Query></View>');
camlQuery4.set_viewXml('<View><Query><Where><IsNotNull><FieldRef Name="Project_x0020_Code" /></IsNotNull></Where></Query></View>');
camlQuery5.set_viewXml('<View><Query><Where><IsNotNull><FieldRef Name="Project_x0020_Code" /></IsNotNull></Where></Query></View>');
camlQuery6.set_viewXml('<View><Query><Where><IsNotNull><FieldRef Name="Project_x0020_Code" /></IsNotNull></Where></Query></View>');
this.collListItem = oList.getItems(camlQuery); this.collListItem1 = oList.getItems(camlQuery1); this.collListItem2 = oList1.getItems(camlQuery2); this.collListItem3 = oList1.getItems(camlQuery3);
this.collListItem4 = oList2.getItems(camlQuery4); this.collListItem5 = oList3.getItems(camlQuery5); this.collListItem6 = oList1.getItems(camlQuery6);
clientContext.load(collListItem); clientContext.load(collListItem1); clientContext.load(collListItem2); clientContext.load(collListItem3); clientContext.load(collListItem4); clientContext.load(collListItem5); clientContext.load(collListItem6);
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
alert("retrieve list");
function onQuerySucceeded(sender, args) {
alert("succeed");
var listItemEnumerator = collListItem.getEnumerator(); var listItemEnumerator1 = collListItem1.getEnumerator(); var listItemEnumerator2 = collListItem2.getEnumerator();
var listItemEnumerator3 = collListItem3.getEnumerator(); var listItemEnumerator4 = collListItem4.getEnumerator(); var listItemEnumerator5 = collListItem5.getEnumerator(); var listItemEnumerator6 = collListItem6.getEnumerator();
var sumClose = 0; var sumClose1 = 0; var sumHigh = 0; var sumMedium = 0; var sumLow = 0; var sumLowMedium = 0; var sumMediumHigh = 0;
var sumOpen = 0; var sumOpen1 = 0; var sumHigh1 = 0; var sumMedium1 = 0; var sumLow1 = 0; var sumLowMedium1 = 0; var sumMediumHigh1 = 0;
while (listItemEnumerator.moveNext()) { var oListItem = listItemEnumerator.get_current(); sumClose += oListItem.get_item('Close'); sumOpen += oListItem.get_item('Open'); sumHigh += oListItem.get_item('High'); sumMedium += oListItem.get_item('Medium'); sumLow += oListItem.get_item('Low'); sumLowMedium += oListItem.get_item('LowMedium'); sumMediumHigh += oListItem.get_item('MediumHigh'); }
while (listItemEnumerator1.moveNext()) { var oListItem1 = listItemEnumerator1.get_current(); sumClose1 += oListItem1.get_item('Close'); sumOpen1 += oListItem1.get_item('Open'); sumHigh1 += oListItem1.get_item('High'); sumMedium1 += oListItem1.get_item('Medium'); sumLow1 += oListItem1.get_item('Low'); sumLowMedium1 += oListItem1.get_item('LowMedium'); sumMediumHigh1 += oListItem1.get_item('MediumHigh'); }
while (listItemEnumerator4.moveNext()) { var oListItem4 = listItemEnumerator4.get_current(); sumMinimal += oListItem4.get_item('Minimal'); sumModerate += oListItem4.get_item('Moderate'); sumSevere += oListItem4.get_item('Severe'); sumCritical += oListItem4.get_item('Critical'); }
while (listItemEnumerator5.moveNext()) { var oListItem5 = listItemEnumerator5.get_current(); sumUnlikely += oListItem5.get_item('Unlikely'); sumSomewhat += oListItem5.get_item('Somewhat'); sumLikely += oListItem5.get_item('Likely'); sumHighlyLikely += oListItem5.get_item('HighlyLikely'); }
while (listItemEnumerator6.moveNext()) { var oListItem6 = listItemEnumerator6.get_current(); sumBudget += oListItem6.get_item('Project_x0020_Budget_x0020_Amoun'); sumCommitted += oListItem6.get_item('Committed_x0020_Budget'); }
count = this.collListItem2.get_count();
count1 = this.collListItem3.get_count();
while (listItemEnumerator2.moveNext()) {
var oListItem2 = listItemEnumerator2.get_current();
var stat = oListItem2.get_item('Project_x0020_Status');
if (stat == "Intiation") {
initiate = initiate + 1
if (stat == "Planning") {
planning = planning + 1
if (stat == "Execution") {
execution = execution + 1
if (stat == "Closing") {
closing = closing + 1
//alert("initiate" + initiate); alert("planning" + planning); alert("execution" + execution); alert("closing" + closing);
//alert("countOpen" + count); alert("closed:" + count1);
window.close1 = sumClose; window.close2 = sumClose1; window.high = sumHigh; window.low = sumLow; window.medium = sumMedium; window.mediumHigh = sumMediumHigh; window.lowMedium = sumLowMedium;
window.open1 = sumOpen; window.open2 = sumOpen1; window.high1 = sumHigh1; window.low1 = sumLow1; window.medium1 = sumMedium1; window.mediumHigh1 = sumMediumHigh1; window.lowMedium1 = sumLowMedium1;
drawChart();
function onQueryFailed(sender, args) { alert('Request failed.. ' + args.get_message() + '\n' + args.get_stackTrace()); }
google.load("visualization", "1", { packages: ["corechart"] });
function drawChart() {
var data = google.visualization.arrayToDataTable([['Task', 'Issues'], ['Close', window.close1], ['Open', window.open1]]);
var data1 = google.visualization.arrayToDataTable([['Task', 'Risks'], ['Close', window.close2], ['Open', window.open2]]);
var data2 = google.visualization.arrayToDataTable([['Program', 'High', 'Medium-High', 'Medium', 'Low-Medium', 'Low'], ['Category', window.high, window.mediumHigh, window.medium, window.lowMedium, window.low]]);
var data3 = google.visualization.arrayToDataTable([['Program', 'High', 'Medium-High', 'Medium', 'Low-Medium', 'Low'], ['Category', window.high1, window.mediumHigh1, window.medium1, window.lowMedium1, window.low1]]);
var data4 = google.visualization.arrayToDataTable([['Project', 'Status'], ['Closed', count1], ['Open', count]]);
var data5 = google.visualization.arrayToDataTable([['Project', 'Status'], ['Initiation', initiate], ['Planning', planning], ['Execution', execution], ['Closing', closing]]);
var data6 = google.visualization.arrayToDataTable([['Program', 'Impact'], ['Minimal', sumMinimal], ['Moderate', sumModerate], ['Severe', sumSevere], ['Critical', sumCritical]]);
var data7 = google.visualization.arrayToDataTable([['Program', 'Probability'], ['Highly Likely/Probable(76%-100%)', sumHighlyLikely], ['Likely(51%-76%)', sumLikely], ['Somewhat Likely(26%-50%)', sumSomewhat], ['Unlikely/Improbable(0%-25%)', sumUnlikely]]);
var data8 = google.visualization.arrayToDataTable([['Project', 'Budget'], ['Approved', sumBudget], ['Committed', sumCommitted]]);
var options = { title: 'Program Issues', width: 200, height: 300, legend: 'bottom', pieSliceText: 'value', pieStartAngle: 180, };
var options1 = { title: 'Program Risks', width: 200, height: 300, legend: 'bottom', pieSliceText: 'value', pieStartAngle: 180, };
var options2 = { width: 200, height: 200, legend: { position: 'top', maxLines: 3 }, bar: { groupWidth: '25%' }, isStacked: true, vAxis: { title: 'Open', titleTextStyle: { color: 'red' } } };
var options3 = { width: 200, height: 200, legend: { position: 'top', maxLines: 3 }, bar: { groupWidth: '25%' }, isStacked: true, vAxis: { title: 'Open', titleTextStyle: { color: 'red' } } };
var options4 = { title: 'Project Status', width: 225, height: 300, legend: 'bottom', pieSliceText: 'value', pieStartAngle: 180, };
var options5 = { width: 175, height: 200, legend: { position: 'top', maxLines: 10 }, pieSliceText: 'value', };
var options6 = { title: 'Program Risk Impact', width: 300, height: 300, legend: 'right', pieSliceText: 'value', };
var options7 = { title: 'Program Risk Probable', width: 300, height: 300, legend: 'right', pieSliceText: 'value', };
var options8 = { title: 'Project Budget', width: 300, height: 300, legend: 'bottom', pieSliceText: 'value', };
var chart = new google.visualization.PieChart(document.getElementById('chart_div3'));
chart.draw(data, options);
var chart1 = new google.visualization.PieChart(document.getElementById('chart_div'));
chart1.draw(data1, options1);
var chart2 = new google.visualization.ColumnChart(document.getElementById('chart_div1'));
chart2.draw(data2, options2);
var chart3 = new google.visualization.ColumnChart(document.getElementById('chart_div2'));
chart3.draw(data3, options3);
var chart4 = new google.visualization.PieChart(document.getElementById('chart_div4'));
chart4.draw(data4, options4);
var chart5 = new google.visualization.PieChart(document.getElementById('chart_div5'));
chart5.draw(data5, options5);
var chart6 = new google.visualization.PieChart(document.getElementById('chart_div6'));
chart6.draw(data6, options6);
var chart7 = new google.visualization.PieChart(document.getElementById('chart_div7'));
chart7.draw(data7, options7);
var chart8 = new google.visualization.ColumnChart(document.getElementById('chart_div8'));
chart8.draw(data8, options8);
</script>
</head>
<body>
<table >
<tbody>
<tr>
<td id="chart_div8" colspan="2" style="border-bottom:ridge;border-left:ridge;border-top:ridge"></td>
<td id="chart_div4" style="border-bottom:ridge;border-left:ridge;border-top:ridge"></td>
<td id="chart_div5" style="border-bottom:ridge;border-right:ridge;border-top:ridge"></td>
</tr>
<tr>
<td id="chart_div" style="border-bottom:ridge;border-left:ridge;"></td>
<td id="chart_div2" style="border-bottom:ridge;"></td>
<td id="chart_div3" style="border-bottom:ridge;border-left:ridge;"></td>
<td id="chart_div1" style="border-bottom:ridge;border-right:ridge""></td>
</tr>
<tr>
<td id="chart_div6" colspan="2" style="border-bottom:ridge;border-left:ridge;"></td>
<td id="chart_div7" colspan="2" style="border-bottom:ridge;border-left:ridge;border-right:ridge"></td>
</tr>
</tbody>
</table>
</body>
</html>
This content editor webpart not working in sharepoint page. Once I checked out to the page then chart is working. When i checkedin function not get called. How to fix this?
THanks in advance!In SharePoint 2013, sp.js and sp.runtime.js does not load on the page in published mode. You need to explicitly load these files. You can check using IE developer tools in the Script section that in published mode these files are missing.
In order to fix this issue explictly refer these two js files on your page.
<script type="text/javascript" src="_layouts/15/sp.runtime.js"></script>
<script type="text/javascript" src="_layouts/15/sp.js"></script>
Geetanjali Arora | My blogs | -
[js] CS Scripting not working with CS3
Hello,
We had a JavaScript made for us that enabled the user to exchange certain text within a document.
This script works fine with CS (Ver.3.0.1) but gives a JavaScript Error - #55, Error String: Object does not support the property or method 'findPreferences' with CS3 (Ver.5.0)
I have tried 'tinkering' around with the scripting - but I have zero experience with JavaScript and have not found a solution.
Additionally the people that wrote the initial script are not available.
I have bought several books but they all seem like alien-language to me
Below is the section of origional CS scripting.
Can anyone point out to me WHY this script does not work with CS3?
And WHERE I should start looking - changing?
Thanks in advance for your help and guidence.
Lee
// Exchange the text
function actProjectData(oneDoc, oneResult){
app.findPreferences = null; app.changePreferences = null;
oneDoc.search(undefined, true, true, oneResult[0],{appliedCharacterStyle:oneDoc.characterStyles.item(myProjectTitleCharStyleNa me)}, undefined);
oneDoc.search(undefined, true, true, oneResult[1],{appliedCharacterStyle:oneDoc.characterStyles.item(myOfferNoCharStyleName)}, undefined);
oneDoc.search(undefined, true, true, oneResult[2],{appliedCharacterStyle:oneDoc.characterStyles.item(myOfferDateCharStyleName) }, undefined);
app.findPreferences = null; app.changePreferences = null;> Come to think of it, maybe it's easier to create a folder "Version 4.0 Scripts" under your scripts folder and place your CS script in there. Maybe that will do the trick. Should have thought of that earlier.
Tried this, but it didn't seem to do anything... But certainly a 'try' worth.
Currently playing around with the:
> app.findTextPreferences.findWhat = "a";
app.changeTextPreferences.changeTo = "b";
oneDoc.changeText();
I've got to the point where I have no error messages :-) Now I'm really flying.....
Fact is - not all text and also the wrong text is replaced!!!
I'm currently playing with the script to try and replace
all texts with a given paragraph style with the entered text...
Not proving to be simple for me, but I'm learning rather a lot!
Now that doesn't sound very clear when I go back and read it!
What I want to say is:
Each page of the document has the project name, No & Date on it (each having their own paragraph style)
so
With this script it asks you the Project name, No. and Date and then goes
through the whole document and replaces all instants of those texts with specific paragraph styles with the newly 'entered' text.
Proving to be a little mountain for me - Thought it would only be a hill!
Maybe you are looking for
-
MS Content Management Server w/ Portal
Has anyone put Portal as a frontend to Microsoft Content Management Server? Or done any type of integration between the two products?
-
Integrate the Org structure and employees SAP HR system to CRM via ALE
Hi All, We want to integrate the organization structure and employees from mySAP HR system to mySAP CRM system. We are also aware that the same can be achieved through ALE Interface between both these systems. In addition to the HR Organization Struc
-
P2P option in Flash 10.1
How do i disable this option for ALL computers in my environment. We do not and will not allow P2P for any app in our environment and I need to either edit the msi script or be able to use some kind of command line switch to turn this off when I push
-
Flash loading 60% in frame 0
Hello, My flash movie is loading 60% in frame 0, so says the bandwidth profiler, this is a problem because my preloader doesnt show up until frame 1. I tried to change the settings for the publish settings/actionscript...no love. I did notice that wh
-
Some information is obscured by other text on webpage
Part of a webpage obscures a previous part. The webpage owner tells me its my browser and I accessed the same webpage using Google and it was ok. So it appears to be the fault of Firefox. How do I fix it. I restarted in safe mode but the website is t