A script to make pies (and more)
As a sort of dare from our friendly neighbours in the Illustrator forum, I wrote this script that might be useful for InDesign users as well. It creates a pie chart by asking for the series of values,...
View ArticleRelease all anchored objects at once
Dear All, I want to release an all anchored objects from my file. All anchors are created inside the table. I am using InDesign CS4. I have a file for 4 pages which is containing more than 150 images...
View ArticleGet the value from dropdown list (selectedIndex) and text field -- not working
Hi All, I am trying to find and change by the values selected by user using dropdown and text field. Here is the code. ChangeRevDetails(); function ChangeRevDetails(){ var myDialog =...
View ArticleInsert the line break in end of the all lines in the paragraph
Hi All, I want to insert the line break in end of the all lines in the paragraph with javascript. Rohit
View ArticleTracking changes
Hi, In an InDesign document with Track Changes turned on. I know I can view the changes in the Text Editor. But I cannot find a way to access the text from Javascript Basically if I have: Old Text and...
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 ArticleIndesign CS6 export images and text
Hi there, I am looking for a way to batch export from Indesign files (with Incopy shared stories), text as RTF and formated images (cropped to the frames they are in) excluding bleed where full page is...
View ArticleCannot handle the request because a modal dialog or alert is active
hi alli try to use indesign product sdk CS5 using com object to open and edit document with asp.netthis error appear to me in this part of my code InDesign.Application indApp =...
View Article[CS4/5][JS] Script causes InDesign to crash
Hello, I'm having a bit of an issue with some InDesign scripting i'm working on, and wonder if anyone else has had the same issue. I have a script that uses app.dialog to prompt for user information....
View ArticleANN: automatic dialog after background export (exportPop.jsx)
A week or two ago, I wrote a script to pop up a dialog box after any background export, in response to the InDesign CS5 PDF export status thread. It doesn't seem like there's been feedback. I suspect...
View ArticleReference between indd and idml
Hi, I have a question regarding to idml export. If I have an indd document, and export it to idml, is there any reference between those 2 documents? So if I export to idml and unzip it I have for...
View ArticleHow to communicate with Acrobat from InDesign
Yesterday Loic asked me for an example of a script that would send the pdf file by mail.Today I made it and decided to post it here on the forum — may be this will be interesting to somebody.It exports...
View ArticleNew CS4 features
At Dave's suggestion, I'm starting a thread for discussing new scripting features is CS4. I'd divide new features into three categories: 1) improvements/additions to the InDesign DOM, 2) improvements...
View ArticleApply script on specific pages only
Hi! I would like to know how to apply some script on specific pages only.I would like to apply it on pages number 4 to 50 on a 50 page project, and so exclude page 1, 2 and 3. Here is my actual script:...
View ArticlePlacing & scaling a multi-page PDF in InDesign?
I need to place a 300+ page PDF that is 8 1/2 x 11 into an InDesign doc that is 5 1/2 x 8 1/2, and have the PDF pages scale proportionately to the smaller size.….can anyone help? In the "Place" command...
View ArticleIndesign Javascript and xml structure
Hi to allI am new to program javascript in Indesign, and I am looking for some example on how modify the xml structure inside a document using a javascript script. i.e.if I have a structure like this...
View ArticleIndesign autosave
I believe there's some autosaving and backup feature in Indesign, where to turn off this option or rather set to a longer time..My Indesign will get slow at some time interval. Heeeeellllp..
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 Article[Ann] HTML/CHM for CS6 Javascript
I don't think I've ever been so fast before: http://www.jongware.com/idjshelp.html is updated, it now also contains my Friendly Help for CS6, as both HTML (separate files) and CHM (one compiled file...
View Article[JS IDCS5] Resize Tables proportionally
Hey, When I use: myTable.width = "200mm"; the table sizes to 200mm width, but resets all the column widths to same width sizes. How to resize a table so columns keep there own proportional width?...
View Article