Place assets only on First page
Hi Forum, I m wondering, if can i place my Library assets.item(0) only on first page. Because the below script places the Library assets, when i click a particular page... Instead, when i run the...
View ArticlePlatziertes Snippet ungreifbar
Hallo, mein InDesign benimmt sich seltsam: wenn ich ein Snippet (.inds) mit dem Skript platziere var myObject = app.documents[0].pages[0].place(myFile,[x, y]); hat myObject-Array immer 0 Elemente....
View ArticleWrite a string to text with .write
Hi, i did this a lot but for some reasont (that i can't obviously see right now), i can't make it work. I collect text from a specific layer from a bunch of InDesign Document and store them in...
View Article[basiljs] unlock master page items
If i make a new page then it adds all the items of my master page (duh).However i would like to unlock them so i can use them. I use basiljs (http://basiljs.ch/) for scripting so this is quite...
View Articleworking with Smart Text Reflow
Did anyone managed to trigger /wait for smart text reflow using scripting, in a usefull manner? here is a bit of my code: //find docType headers and apply keep app.findTextPreferences =...
View ArticleUrgent
Hello friends As I am new to Indesign Scripting I wanted some help. In Edit->Spelling->user Dictionary I have added some words now i need to export them with hyphenation example: allgemeinen...
View ArticleexportFile() - export selection option via script?
Hello, From InDesign, I can select a group/textFrame/pictureFrame, and then click File -> Export. From this dialog, after I select my "save location," I can then choose to "Export Selection" by...
View ArticleThreading text that's not the same size
I prepare files for a magazine and I have an ongoing problem and I hope someone has a solution. When the text of a feature story is too long, we continue the story in the back of the issue. The text of...
View Article[JS][CS4] - Conditional statements in a table?
Hello, I am trying to write a script that looks at the content of the last column of a table and based on what it finds applies formatting to the first column, for every row of the table. For example,...
View ArticleGREP: Find multiple paragraphs between brackets
Attempting to write a grep that will find text, including paragraph breaks, between bracketed tags [EXT] and [/EXT]. It looks like this: Int hillestisite militam dolupta corera seque nonsers perrum...
View ArticleProblems with document flowing after placing a movie inline
I'm trying to place a movie inline and have the contents surrounding it reflow, instead when the movie is placed it overlaps all of the contents above it. I'm placing a movie using the following code:...
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 ArticleA 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 ArticleSetting Document Measurement Units
Dear Forum Gods, I am trying to use a VB script to set what I believe to be the Measurement Units - that is, the units displayed on the horizontal and vertical rulers when opening a document. According...
View ArticleGet the line number of selected text
Hi All, Please tell me how to get the line number of the selected text in a page. for example Consider, below is the page with some text, in that i want to get the line number of that selected(marked...
View Articleplace promille character in indesign
how can i place a promille character in a textframe using javascript. atm i get Ä∞. I tried \%u2030 but it doesnt seem to work
View Article[basiljs] set text properties of overflow text
When i change the pointSize or any other propertie then only the text that is visible get's changed.The text in the overflow is not. How can i effect all text? #includepath...
View ArticleUI 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 Articlebasiljs library
hi, some time ago a library is released for indesign named basil.js.It is inspired by processing, a great java dialect for artists (www.processing.org).Here is the website about...
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 Article