AIS CC: how undoing the actions of a JS run via app.doScript
Hello, AIS CC (9.0)I wrote a JavaScript, which I can properly run through app.doScript(UndoModes.fastEntireScript, etc.). Now, at a given time, I would like to programmatically undo the actions of my...
View ArticledoScript (UndoModes) breaks InDesign's Undo (CS4)
I wrote a little script. To make sure that I can undo it all in one go, I used: app.doScript(main, undefined, undefined, UndoModes.fastEntireScript,"My script"); Once the script completes, InDesign's...
View ArticleAlign Inline Equation to Baseline
Hi, I found this code to align line objects to baseline from this forum. But its throwing error (null object). var fp = app.selection[0].graphics[0].itemLink.filePath;var f =...
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 ArticleSelected text frame only change height
How do I just want to change the height of the selected text frame scripts
View Articleis it possible to change from paragraph composer to line composer without...
Few documents which has paragraph composer on when created. Now at correction stage text reflow when there is any changes. Pls advise if possible via script. Just a starting tip will be helpful....
View ArticleUntag text
How to Know the texts, is a XML Tagged Text or Its only a Plain Text in the application file
View ArticleDelete paragraph styles in style groups
Hi! I have 30+ paragraph style groups that all contain the paragraph style "Fotobyline". Is there a way to delete this style in all style groups with a script?Thanks in advance. Mikael Wiik
View ArticleWindows : Permission denied on Folder.rename()
Hi all, First of all, I was told this topic has already been covered but after several searches, still couldn't find any related post. If I missed the obvious, feel free to redirect me. Here is my...
View ArticleUpon Open » Open possibe? if not=open as copy!
Hello, I hope someone has bugged this already and has a smart script, that helps doing this: Mostly I browse on networkvolumes by finder, wanting to open InD-docs, shared with my collegues. Commonly we...
View Articlepartial table of contents
Hi everybody I'm working on a assignment for my studies and struggeling with an idea a had. I would like to have a Chapter Sheet at the beginning of each Chapter.It will be a grey Paper showing the...
View ArticleIs there a plugin or script that will optimize my layout to maximize use of...
I'm producing labels for museum gallery objects. We are printing them on adhesive vinyl with peel off back (i'm not sure what the correct term is at the moment). We pay for the labels by the sheet....
View ArticleAdd multiple files to book in correct order
I'm looking for a script that can add files to a book file. We often have to make a book with 30 till 70 different files, each of them having an automatically generated internal number (BDAU1234a;...
View Articlecleaning up text frames
hello all you smart guys. I get a big complex files from another designers every month for further processing. Among other not-so-good habits, they usually do not use layers.To make layout a bit more...
View ArticleXml import script and missing links
Hi everyone, I'm working on a script, that imports xml file and checks for missing graphic files. They are placed on a server in certain locations and it might happen that some of them are gone or...
View Articlescript for running multiple find/change queries
Working on a large ID book document (*.indb), I have saved several dozens of Find/Change Queries (named "col01", "col02" etc.) that I run on "All documents". For a particular reason I have to run these...
View ArticleExporting individual pages to PDF / Indesign
Have downloaded some sample scripts from http://www.adobe.com/products/indesign/scripting/index.html This is all well and all but it creates a document and prints it as individual pdf files. Yes this...
View ArticleUndefined Variables
I have the following piece of script, used to import xml files from a folder to a template, but I can't get it to work.var myTemplate = File("/E/template.indd"); var MyFolderWithFiles =...
View Articlemore efficient right aligned page numbers in TOC
In order to right align the page numbers in a table of contents, after generating the TOC, I need to manually insert a tab character to the left of each automatically generated page number.I'm looking...
View Article