Help! new to script
hi forum!...... I m new to scripting... I want a small things to do with scripting. I want to select an image (link) placed inside page(0) of document. my link name. teddy_1.ai. and the location is...
View ArticleMove xml element into Lib Item
Hi, I'm currently trying to build a script to move a ELEMENT into anchored objects with a specific object style. Here's my Script myXMLElements =...
View ArticleStrange behavior function Document.exportFile()
My script uses the exportFile to get files PDF. Usually this is a fairly lengthy process. When you run the script sometimes disappear from the exported files attached pictures PDF. If at the time of...
View Articlerelink images from different locations
Hi Forum, I have a big tricky thing to do with myself... i have placed an image inside indesign document from desktop of my system(smb://172.11.11.0/). Saved and closed. and only the indesign file is...
View ArticleScript to automatically enter document metadata
I need to enter document info as metadata into all of my Indesign documents as they are posted on the web as pdf docs so I wanted a script that would automaticaly enter the data once the document has...
View ArticleIndesign Scripting: Loop through Layers
I am trying to make a script that will: Loop through all layers of a document. Add the unlocked layers to arrayLoop through this array and paste in place on each layer. I am not sure how to loop...
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 ArticlePlace library asset
Hi, I am trying to develop a script to all list of Box elements in each library asset and it has been place each asset onto a page where myFind.text is cited. This is my Script var myDoc =...
View ArticleNeed help with a GREP expression
Seems like this should be easy, but I've lost hours of my life to it already. Any suggestions will be much appreciated. The type examples: Best bets for the weekend: This is a line of type, which...
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 Article[CS5.5][JS] Delete character located before search result
Hi, I have a small question. I would like to delete all spaces before all text tagged with a specific character style. Example: "Appel:[SPACE][BEGIN CHAR STYLE FRUIT]5 pieces[END CHAR STYLE FRUIT] I...
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 ArticleHow do I run a script on a .indb file?
How do I run a script on a .indb file? What should I do differently than in running one on a single indd file?
View ArticlehyperlinkTextSources from hyperlinkTextDestinations text
Hi Scripters, big question!!!With two documents open, I have some hyperlinkTextDestinations previously created by text selections. Now want to create hyperlinks with hyperlinkTextSources refering to...
View ArticleDeleteing assoiated text form conditional text dialiog
Hi, I have made some contition set using "conditional text" dialig. I want, when I delete those condition set, there associated text should also be deleted. How is that possible. If anyone...
View ArticleHow to move some xml element and its content to a new frame
Hi All, How to move some xml element and its content to a new frame.
View ArticleConvertToButton using script
Hi ExpertI want to convert TextFrame or Image to Button using script But in object model I not found any method to convet it in...
View Articlebatch-find-and-replace.jsx
Hi there, I wrote a batch-processing script for find change queries and thought I share it with you. You can get it over here You can process GREP, TEXT, GLYPH and OBJECT searches. PurpouseWhile...
View ArticleCharacter/Paragraph Style Hilight colors
In May 2010 Marc Autret posted this interesting blog: Show Local Formatting in InDesign CS4/CS5, where he shows how an undocumented feature of InDesign can be put to good use. If you set...
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 Article