Can't get to add the data merge text placeholder to all the text frames on...
I'm trying to put together a script that loops though all the pages in an indesign file, look for all text frames label caption1, caption2, caption3 … (every time you get to a new page the text frame...
View ArticleImage name placed separate file
Dear Friends, My script doing image name display only, see the screen shot. But I need generate the all image names placed in separate file (like word). var cur_doc=app.activeDocument; for...
View ArticleExtracting single pages out of InDesign documents
Is it possible to extract or export single pages from an InDesign document?So far I've done it this way: I remove all the other pages, save to a new document and reopen the original document.Here's my...
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 ArticleFilter text.contents (removing special characters)
Hi guys, I want to extract a string from a bunch of text (here a selection for example). This text is xml tagged. If I do selection[0].contents, it captures the text and all the special characters (XML...
View ArticleConvert an image file to Base64 or other string value
Hi,I need toread the contentof an image file(JPEG, PNG,TIFF) andconvert that file toBase64string.Does anyone know ifyou cando these thingson Javascript, in InDesign?Thanks forany helpEDIT: I forgot...
View ArticleSet XML-Attributes for multiply objects
Hi everybody, this is my situation. I have a document with several pages and several objects on each page.now I want to get the coordinates and the dimensions of a object and write down the datas as a...
View ArticleGetting the correct page number
Hi, Im stuck with this project... I have this xml tag<page id="p4" type="cyan">some content</page> so, what I want to do is, use this attributes to apply a B-Cyan, B-Magenta or B-Yellow...
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 ArticleHow can I get a total page count of a PDF before placing every page in the PDF?
Before the [long] spiel, I'm using javascript in InDesign CS3.I'd like to create a script that places a multiPage PDF in any number of different impositions. (saddle stitch, 4up signatures, 16up...
View Articleresize pages based on elements
Hey,need to do this:I have multiple pages on single InDesign document, each page has one single text frame which contains a table with different heights. I'd need to resize the pages based on the size...
View Articlehow to get character count
Hi All, How to read the below highlighted value in script. Pl help me. Regards,RockSel
View ArticleCan't get to add the data merge text placeholder to all the text frames on...
I'm trying to put together a script that loops though all the pages in an indesign file, look for all text frames label caption1, caption2, caption3 … (every time you get to a new page the text frame...
View ArticleSet Tracking value
Hi, Need alter for tracking value. My last line character count is less than 10 in the paragraph, I want give -10 tracking value in the particular paragraph My last line character count is more than...
View Articlelist of names
As a non scripter (I can modify existing scripts) I need help with this question: I'm looking for a javascript that lets me put one or more titles (ex. minister of Defense, minister of Finance) in a...
View ArticleRemove all line breaks
Hi, When pasting from Acrobat PDF files into InDesign, I often have a ton of extra line breaks I don't want. Does anyone have a script to remove all line breaks from a text frame?
View ArticleIndesign Scripting Object Model
Hi, Is there some reference documentation that provides detailed information on the Indesign object model as exposed to the scripting interface (javascript)? I have done fair amount of scripting in...
View ArticleImport and Update PDF Export Preset
Hey there again! I'm now trying to define a preset for the PDF Export process... it's based on the "High Quality Print" (from the Adobe PDF Preset list), and then I want to change "one or two"...
View ArticleIts possible to change text frame contents inside group...???
Hi Everyone, I'm newbibe to Indesign forums. I had grouped image placed on rectangle and text frame. now i need change text frame content using indesign Javascript Its possible to change text frame...
View ArticleScript to select all overflow text frames and fit them to content?
I have a document with several text frames that have overset text, due to replacing a font. I was looking for a script that would: 1. find all the text frames that have overset text2. apply "fit frame...
View Article