Help with targeting contentType with javascript
Newbie with a problem with probably a obvious answer. I am having a little trouble in the script snippet below. In the for statement, the alert returns the contentType, so I know that I have an object...
View ArticleCall another InDesign script with doScript in InDesign CS4 js
Hi, I need to call a separate InDesign script from an active script. Could I do it through java script, or do I need to call applescript to run the InDesign script. var myJavaScript = "myOtherScript";...
View ArticleChanging fonts in paragraph and character styles (AppleScript, Grep or...
I have been trying the javascripts in this discussion:Adobe Community: Specified font need to be changed in all paragraph stylesbut I cannot get any of them to work. I have been putting them into...
View ArticleWith CS2, some things have changed
I have not located a place where changes in scripting between CS and CS2 are reported, so I thought I'd start a topic here with some of the things I know about.This is about changes to the object model...
View ArticleexportFile() - export selection option via script?
Hello, From InDesign, I can select a group/textFrame/pictureFrame, and then click File -> Export. From this dialog, after I select my "save location," I can then choose to "Export Selection" by...
View ArticleZIP-package from indesign (by script)
we have a javascript that writes lot´s of files from indesign... developers of the next step asked if it´s possible that indesign would package all those files to a ZIP-pacakge... is it possible?
View ArticleHow to run a script on InDesign startup?
How to run a script on InDesign startup?Or jast after it open one document? Is there any method like Excel VBA "Auto_Open" ?
View ArticleCreate charater based on a txt file
Y have a text file separeted by tabs with the definitions of the charater style that y want to create, but in some font name it gets error (example Lucida Math Std and Frutiger LT Std.The file was...
View ArticleRefreshment problem when place image.
Hi Experts,When I insert image using script then there is a refreshment problem.In place of second image there place first image.while if I debug this it place in correct order. But in Run case script...
View ArticleHow do I add InDesign's Object model to ESTK Object model viewer?
I am new to InDesign scripting, and was told that I could view InDesign's DOM in ESTK's object model viewer. The problem is that my ESTK does not show InDesign Object Model in ESTK's model selector...
View ArticleHelp on finding text and applying INDEX
Hi Forum,, I m trying to apply INDEX to the founded words at a single click of the "UI button created". Is that possible. This is my try. app.findGrepPreferences = app.changeGrepPreferences = null;doc...
View ArticleSearch/Replace of NumberingLists [JS][CS6]
Hi All, I'm trying to handle multiple languages in the same document. Each language will have a layer of its own.In order for this to work the numbering lists must be set for each layer. Otherwise...
View ArticleInDesign 7.0 breaks Visual Basic reference
I've previously posted this to the Indesign SDK & Scripting forums, but haven't gotten a reply.I thought I'd try again, rephrasing it a bit.When I installed Creative Suite 4, InDesign 6.0 installed...
View ArticleTagging for Character Style
Hi All, Need to insert tagging (character style name) surrounding the text which has character styles applied in InDesign document. Example: This is <italic>an</italic> example of...
View ArticleScript for InDesign CS6 - create multiple, prenamed layers
I created a script for Illustrator CS6, in ExtendScript Toolkit, that will create multiple, prenamed layers...see below... //Apply to myDoc the active documentvar layerName = LayerOrderType;var myDoc =...
View Article[JS IDCS5] Resize Tables proportionally
Hey, When I use: myTable.width = "200mm"; the table sizes to 200mm width, but resets all the column widths to same width sizes. How to resize a table so columns keep there own proportional width?...
View ArticleNew CS4 features
At Dave's suggestion, I'm starting a thread for discussing new scripting features is CS4. I'd divide new features into three categories: 1) improvements/additions to the InDesign DOM, 2) improvements...
View ArticleExtendScript Oddity with File/Folder on Mac OS X
Here's a really odd one, happens on Mac OS X Lion 10.7.3 with InDesign CS5.5. Enter the following little InDesign Script in ExtendScript Toolkit, and run it targeting InDesign CS5.5: // Create a path...
View ArticleANN: automatic dialog after background export (exportPop.jsx)
A week or two ago, I wrote a script to pop up a dialog box after any background export, in response to the InDesign CS5 PDF export status thread. It doesn't seem like there's been feedback. I suspect...
View Article[Req.] script for updating links in Indesign using spotlight
hi, i've got a challange, can somebody please help me? I'm a graphic designer from holland and I work with lots of Indesign documents whose links are missing because they are moved, so they are...
View Article