delete specified line and next paragraph applied specified paragraph style
Hi, How to find one of the specified line, then delete (e.g. <chapter>) and the next paragraph applied one of the paragraph style in the indesign javascript. Please explain
View ArticleApply selection grep in the script
only a selected paragraph or selected text frame how do I apply app.findGrepPreferences = app.changeGrepPreferences = null; app.findGrepPreferences.findWhat =...
View ArticleSelect all image objects in a document, layer, page
Hi, I'm reading the "Scripting Guide", but still I haven't found what I'm looking for... I need to select, with three different JS Script, all the images that are inside the current selected InDesign...
View ArticleIgnore styles while doing importxml??
Hi all, I have a document which is having more cell styles, because of the styles When I open the idml doc and do the import xml, its taking more time.Even i have tried with xmlimportpreference as...
View ArticleHow to detect the HTML extension window close in In-design? Does the...
How to detect the HTML extension window close in In-design? Does the In-design throws any event on opening/closing of extensions? I have a HTML extension running in In-design CC 2014 version. I want to...
View ArticleCan you help me with this script
with the following command in the master page object style (AA1) I'm active var d = app.activeDocument; function myFindObjStyle(a) { var x, i; for(i = 0; i < a.length; ++i) { if(i == a.length - 1)...
View ArticleFor pure performance should I use javascript or C# with COM to run my...
Hi there, I am looking to make the creation of variable PDF / JPG files from an indesign template as quick as possible. Has anyone benchmarked the performance of using javascript (which I use now) vs...
View Articlelooking for a script that creates labels for linked image files in the layout
I'm working on a large book with over 650 images and I need to show the file names along with the images in layout for proofing reasons. Does anyone have a script for that does something like this? I'm...
View Article[CC CC2014] statictext scrolling
Hi! How to create a panel with text multiline and scrolling?In cs5/cs6: var finestra = new Window('dialog', "Validazione"); finestra.bounds = [100,100,700,600]; with(finestra) {...
View Article.exportFile to PDF in background
hi, is it possible to do .exportFile to pdf as a backround activity, just as it is when regular export (File > Export) in the application interface is used? I have not found any info on this...
View ArticleHow to export an .ai graphic in indesign as .png/.jpg?
I have been searching for this multiple hours, but I just can't find the solution. I'm currently writing a script for a xml export. Now in this export, I need to link the images in the assets folder....
View ArticleGerp Styles in CS4
in my ID CS4.. when i try to make a "grep style".. every option are grayed out, not available! Any Advice/help?
View ArticleCreate New Folio
Hi All, I need to create a new folio for my document. Note: Folio text frame label as "FOLIO" 1. Take folio from the Numbering and Sections2. Update to the first(recto) page3. Same folio comes to the...
View ArticleHow can I interact between two different frames in the same indesign template...
I am looking for the best way (or any way) to interact between two different frames in the same indesign template as well as from one template to another. It's for a DPS app which needs to carry some...
View ArticleHow can I add a character globally to empty cells in an InDesign table?
I have a document with 190 tables, each with many empty cells. Client now wants m-dashes in the empty cells. Is it possible to do this in an automated fashion, without having to go cell-by-cell?
View ArticleSelect the Motion Path of a PageItem
Does anyone know a way to select (or access) the Motion Path of a PageItem with animation applied using ExtendScript? I know it appears as a graphic line in the document, but I'm wondering if there's...
View ArticlePreserve Local Formatting script and CS4
Unfortunately, Dave Saunders' amazing PreserveLocalFormatting.jsx script (that changes local formatting to character styles) doesn't work under InDesign CS4. I've tried running it both as-is and in the...
View Articlecreate hyperlink for all images
Hello everyone,I am new to scripting, but I am assuming my current task needs some scripting.I have a catalog laid out in InDesign. It is about 250 pages and each page has about 10 image so there are...
View Articleincludes in BridgeTalk object
Hi all, I'm writing a module to execute scripts from InDesign to Photoshop. I used bridge talk and the module works until now I would like to include a library in the photoshop script but this script...
View ArticleFix Column width in tables
Hi, Anyone of you please update the script for the below requirement. var doc = app.activeDocument, w = doc.documentPreferences.pageWidth; sel = doc.selection[0]; if(sel instanceof Table)...
View Article