loadSwatches with replacing
I'm trying to write a script that will update the swatches in some old documents with the CMYK values from a new document. app.activeDocument.loadSwatches(myStyleFile) pulls in the new swatches OK, but...
View ArticleIndesignGREP Find-Change Queries FAQ
Can someone tell me what’s role: Multiline on(?m) Multiline off(?-m) Single-line on(?s) Single-line off In indesignGREP Find-Change? Can someone make me an easy instance?
View Articleauto footnote number
Dear friends, The below script are working for convert "auto bullet and number convert to text" but i need footnote convert in text, see the screen shot and script:The script is:var curDoc =...
View ArticleWhere can I find a Javascript developer for InDesign scripting?
Hi as I apologise in advance for posting on a technical site for InDesign developers, but our company (Dorling Kindersley) is looking for a full-time permanent developer to join our team. I've been...
View ArticlePlease help me to correct the script
I try to write a script by my slef, but not work app.findGrepPreferencest = firstLineIndent:8, leftIndent:8;app.changeGrepPreferences = firstLineIndent:8,...
View ArticleSetTextProperties
Does anyone know where to find the tutorial and complete "SetTextProperties tutorial script"?In the InDesign scripting guides javascript I stuck on the text: "The SetTextProperties tutorial script...
View ArticleHow to insert "Anchroed Object"
I need to find the all 'italic' words in my Indesign file by using below code: app.findTextPreferences.appliedCharacterStyle= "Italic"; Now I want to insert the 'Anchore Object' before the Italic...
View ArticlePlease correct my condition
Hi, I have written the statement like below: if((globBaseLineDiff!=0) && (myTextWrap.textWrapPreferences.textWrapMode = TextWrapModes.JUMP_OBJECT_TEXT_WRAP)) Its working fine, but need to add...
View Articlecorrect my MeasurementUnits by script
My Indesign file preference properties in inches ('myDocument.viewPreferences.horizontalMeasurementUnits=MeasurementUnits.INCHES;') But I am using point size measurement units for above space...
View ArticleJavascript lint
I have been looking for a program that might help me with my InDesign and Acrobat Javascript syntax and I stumbled across a Javascript Lint program. As far as I can tell its public domain software and...
View ArticleHow to change my 'Anchored Object Option'
Hi, How to change my 'Anchored Object Option' from 'Custom' to 'Inline' position. this is my idea, Need script for this Preference.AnchoredObjectSetting.anchoredPosition.AnchorPosition.INLINE_POSITION....
View ArticleProblem Linking HyperLink 3 Images on Same Cell Text Line. Need hero.
Hello Friends, I need a hero, please. VB.NET, CS6. I am trying to add hyperlinks to 3 images. Here's the code (it's VB.NET but the logic should be easy to understand) If imageFileName IsNot...
View ArticlePlease help me to correct my script!
Please help me to correct my script I use this script which copy from the adobe forum: app.findGrepPreferences.findWhat = "\\r";app.changeGrepPreferences.changeTo =...
View ArticleCell 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...
View ArticleIndesign Preferences
Hi, I have used the below code to set Preview Options of InDesign Preferences (InDesign Preferences -> File Handling -> Saving InDesign Files). app.generalPreferences.includePreview = true; //...
View ArticleExtracting single pages out of InDesign documents
Is it possible to extract or export single pages from an InDesign document?So far I've done it this way: I remove all the other pages, save to a new document and reopen the original document.Here's my...
View ArticleJavaScript script: How to add a DSP Interactive WebView to a page?
Hi forums experts, I'm working on a project where we want to automate the insertion in a indesign (*.indd) of a DSP WebView using a JavaScript (*.jsx) script. I did an extensive research of the...
View ArticleRefresh File.length
Hello,in ExtendScript when I store a File object in a var like: var f = new File("~/Desktop/temp.jpg"); I can check for properties such as the filesize: f.length If the filesize changes after the...
View ArticleExporting different images to jpg (with different names)
Dear Scripters,I KNOW I can script all this, but I need your help to find my way home… I have a doc made of 15 pages, each of these contains three or four instances of the same image, in different...
View Article