Send response to dialog
I typically have app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT at the begining of my scripts. But when duplicating a swatch, InDesign only seems to duplciat the...
View Articlemath / array / matrix-question
Hallo everybody, first of all: it's not a indesignscripting- but general math-javascriptquestion. please be patient I've got a first (matrixlike-)array (won't change) var containers = ['container11',...
View ArticleHow to apply a Character Style that's already been made in a template document?
First of all I'd like to thank everyone that helps. I'm a complete beginner at scripting and appreciate all your help. I'm basically using GREP expressions to find patterns in a document and apply a...
View ArticleResources for new programmer.
Hi fellow scripters. My boss hired a new programmer who's starting next week and since it was impossible to find someone with InDesign scripting experience, I would like to hear from you on what...
View ArticleFindChangeByList script
I'm trying to use this pre-made script in CS4, and I customized the accompanying .txt file with all our Find-and Replace needs, but when I actually try to the run the script on a document, the...
View ArticleCheck continuous Page Number in Document
Hi ALL, Is it possble to check the continuous page number in the active document. Problem is due to using multiple "Number and Sections options" in the F12 pages panel. No error: alert("Pass") if any...
View ArticleWhy doesn't the #target directive work in InDesign CC scripting?
I have a script which works fine when run from ExtendScript Toolkit on both InDesign CS4 and InDesign CC -- but I am unable to specifically target CC using the #target directive. At the top of my .jsx...
View ArticleAuto save
Is it possible to set up a script that would run automatically on file open and save a copy periodically, or perhaps better, one that would run on file close
View ArticleHow to print PDF with H&J Highlights
Hi I need output pdf with H&J Highlights, so that we can validate the H&J without native file. Is there any options in applesctipt/javascript. Thanks in Advance
View ArticleHow to break link to cell/table style in a selection
I can break link to cell/table style in a current document, but if I want to do it in a selection, it seem error, anyone would help me to fix it? Script A (For Document is...
View ArticleReset findTextPreferences.appliedParagraphStyle?
Hi, Does anyone know how to reset the findTextPreferences.appliedParagraphStyle value? A script I'm working on uses InDesign's findTextPreferences to search for a paragraph style, e.g.:...
View ArticlePlace snippet script
Hi all, I am working on a script that is asking InDesign to place a snippet into the slug of whatever document is created. The problem is I don't seem to have control over the placement coordinates of...
View ArticleCan you embed a Javascript within a InDesign file
Hi,Could anyone tell me if this is possible.We would like to embed a Javascript within an InDesign document so that if someone was to receive the InDesign File it would contain that script.I have...
View ArticleGet text selection and properties
Hi All, I need to get the text selection in my active document so that I can access the properties of selected text like paragraphs, font styles, colors etc.I wrote the following script to get text...
View ArticleScript that will show the character count of all carriage resturns
I have found a bug when exporting an indd to idml. If a a carriage return falls in a character count that is a multiple of 8000 + 1 it is converted to a paragraph separator (u2029). I am in the process...
View ArticleHow do I delete all empty graphics frames from a document?
I have data merged a document and need to remove all the empty graphics frames as quick as possible. I have found solutions for deleting empty text frames but not graphics frames. Can somebody help...
View ArticleScript that Selects All items on all pages
Is possible to copy all content in all pages ? , I'm creating a contact sheet(like yearbook page) with datamerge of a bunch of students, so I create a merge document with all students in individual...
View Articlehow to get font properties like line height, ascend, descend, ideographic top...
I would like to know if we can access font properties like line-height, ascend, descend etc. through scripting. I have been trying to get this now by applying a font to sample text as mentioned below....
View ArticleSpecific Colour changing Script from RGB to CMYK
I need to change the RGB values (imported from word) to specific CMYK values in Indesign (its not a straight swop) so I need a script or a similar plug-in that enables me to input the colour values for...
View ArticleDelete character in file names
Hi, I need a help to rename some of the files. i.e. delete some characters of a files. eg. XX_5182179_ETERNITY_25TH_MB_AB_XYX_abc.ttjseg. XX_4182229_ETERNITY_21TH_MB_AB_XYX_abc.ttjs like above eg. i...
View Article