UI panel and document CS4
Hi, I need help. Is possibile to do an interaction between object group in a indesign CS4 document with a UI dialog opened??? Thank in advance Sara
View ArticleNeed to apply table fill color based on text content
Totally new to Indesign-scripting – but really need a solution to this: I have a table I want to fill the table cell with a different color based on text content. If cell contents the text "Apple" fill...
View ArticleLooping over all xml elements
How do I loop over all the tagged xml elements in a story? I've created a reference to the xml elements of the story I want like this: var xmlStory = myDoc.xmlElements[0].xmlElements[0];In this...
View ArticleFont Converter .ps to .otf
Hi ALL, Any font converter or any solution from postscript fonts(.ps) to open type fonts(.otf). Font i want to convert is "SassoCPMPri" Can anyone give solution for this. RegardsBEGINNER
View ArticleFind and change GREP characters
Hi, Is It possible to find and change a word (or character style) in the end of each paragraph line from a finded text. Is It possible to do this with a script? my...
View ArticleApplescript to run javascript
Hi all, I got error in this script. Could anyone help on this? tell application "Finder" activate set myApps to {"CS3", "CS4", "CS5"} set selectedApp to choose from list myApps with prompt...
View ArticleMatch pageItemX from array1 with pageItemX from array2?
Cheers,I've got a spread with one page. Two page objects (a polygon and an rectangle) on the page, and one rectangle object outside the page. I'm trying to find the object not associated with the page,...
View ArticleAdding Index Markers Causes An Overset
I have a script in IDCS2 that places index markers based on a character style. However, in some files, after placing the index markers, my layout moves and now has an overset. I'm thinking, insertion...
View ArticleCall another InDesign script with doScript in InDesign CS4 js
Hi, I need to call a separate InDesign script from an active script. Could I do it through java script, or do I need to call applescript to run the InDesign script. var myJavaScript = "myOtherScript";...
View Article[JS] Menu Added via Scripting Moves
I've been able to sucessfully add items to the InDesign menu thanks in part to Marijan Tompa's (tomaxxi) blog post http://indisnip.wordpress.com/2010/08/08/create-customized-menu/ My test code (below)...
View ArticleStop Redrawing in VBA
Hello, I try (or better ife done) a complexe Script in VBA.It accesses directly Indesign and send Line by Line all Stuff to Indesign.So i DO NOT load the script in Indesign, i execute it directly in my...
View ArticleNeed to get all the text from the particular applied character style
Can anyone help me I need to get all the texts from the particular applied character style app.findTextPreferences.appliedCharacterStyle = "Character style1";
View ArticleR6025 pure virtual function call
Hello,Got error "R6025 pure virtual function call". Thats an error send by InCopy after quitting application.Sorry for writing on this forum but on InCopy Forum is 2 month freeze from the last post...
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 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 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 ArticleGetting the stack trace of an error
When I catch an error, I would like to be able to log its stack trace. So far I’ve come up with this little trick: Error.prototype.toString = function() { if (typeof this.stack === "undefined" ||...
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 ArticleHow to get the pagenumber for a xml tag?
Dear All, Can I get the pagenumber for a xml tag? I need to get the pagenumber for the tag <figure></figure>.
View ArticleRemoving unwanted characters from imported string
Hello,I have a tab-delimited .txt file which I have to import into Indesign for further processing.The file is composed by a 3 columns header row at the beginning (Code, Description, price) followed by...
View Article