How to place the generated index topic
I have a requirement to create index pages from a catalog that is generated completely (using javascript) from a xml data source dynamically using placeXML functionality of InDesign. I created a place...
View ArticleGREP, creating spaces
Hi everyone, I have a lot of info from a DB from ACCESS and I'm importing it to inDesign as a CSV. My problem is about the prices. All the prices come without spaces between, like this: 9000000 and I...
View ArticleText flows create a delay when an overflow creates a new page, preventing you...
Hi all!I am creating a script to generate automatically a photo catalog; the idea is to prepare a master document with a text frame in the master spread with auto flowing, then insert images with their...
View ArticleModifying findGrep results when using lookaheads/lookbehinds [JS][CS6]
Dear all, I am thinking about a search/replace script (JS) in which the user is able to choose in a GUI to which elements of a findGrep()-array a changeGrep() method should be applied to. All in all...
View ArticleChanging table direction - script
Hello all, I have a series of large Arabic documents where I need to flip the table direction to RTL. I've cobbled together the following: var a =...
View Articledata merge] Add/remove text line depending on content?
I have a business card design that I'm automating using data merge and the cards sometimes only have 1 phone number while others have 3.I want to automate it so that a paragraph/line is removed if...
View Articlegrep prices & pattern applescript
Hello, I'm not able to compile the script below. (Syntax eror Expected "" but found unknown token). It is not a complicated search but can't get it to work. Would love an explanation if possible where...
View ArticleIndesign Scripting: How can I move a placed item using Javascript?
Hey all, I have been trying to write a script that places a slug object from an indesign library on to a document and then moves it to my slug area. It all seems to work except the move command. I...
View ArticleHow do I start learning InDesign Scripting?
Hello Everyone! I just cut down my workflow from 40 hours per document to less than 20 using scripts! So exciting! Can anyone suggest a good recent book or online resource to start learning scripting...
View ArticlePDF Export - setting 'PDF Producer'
Hello, Can anyone help me ... I would like to set-up a different 'PDF Producer' in the exported PDF properties (other than Adobe PDF Library). I looked at the PDFExportPreference help but I don't see...
View ArticleHow to set up automatic backups in InDesign
Does anyone know how to set an automatic back to InDesign? Yes, I'm aware that there are tons of general backups available and can always "save as" to make copies. However in a team enviroment where...
View ArticleCheck file type after JavaScript File.openDialog()...
So, I'm on Mac OS and want my script to obviously cancel on the "Cancel" bottle, as well as check whether the file selected was a PDF. I've had some success with the code below, but some of the PDF's I...
View ArticleMoving ruler origin, setting reference point etc.
Hi, I'm quite new to scripting InDesign. I'm doing a script that moves and duplicates various page items. My problem comes in when the user has moved the ruler origin it messes up my script. How,...
View Articlehow to find out web content files linked in folio through scripting
Hi all, Please suggest me, how to find out web content files linked in folio through scripting. Regards,Moorthy
View ArticleConfused by stopPropagation()
Hoping, first, that I'm just making a silly mistake or, if not, to better understand what it means to stopPropagation() on an event. Consider this snippet: var beforeCloseListenerTest =...
View ArticleCreate separate indesign documents for each page of a document
I am converting a print indesign file for use with dps. The problem is DPS wants individual files for each page. Is there a script to take each page and save as an indesign file?
View ArticleScript to select last row of a long table in every page
I have a problem in a script written to automatically flow long table over pages and i need now to select the last row in every page.For Example, i have a long table consists of 120 row and will flow...
View ArticleParticular paragraph style report
Dear All In my Indesign file have 10 Groups in paragraph styles.In this Group I used "Q1_Open" and "Q1_Close" paragraph style. The same process continued in other 10 paragraph styles. Now I will get...
View ArticleWith CS5, some things have changed
This discussion is for changes to the scripting DOM which can affect legacy scripts. Please use this discussion for discussing new scripting features in CS5. Please keep in mind that all changes are...
View Article