about paragraph style?
Hello ,i want to check wheather particular style is present in the document.if present then i want to apply another style.is any method in the indesign script which will find and replce particular...
View ArticleHow can i apply a CharStyle for created footnote on the fly? [CS6-jsx]
I insert footnote insted of founded text.mSn_text = mFound[i].contents; //get footnote's content mFound[i].contents=""; //clear contents for keeping number of future footnote var myFootnote =...
View ArticleScripting Error
I'm having difficulty figuring this one out. This script works: var myFormat = app.documents[0].crossReferenceFormats.item("Paragraph Text"); var myXref = app.documents[0].hyperlinks[0];...
View Articleinsert or replace last content
HI Forum, I do need a little tweak on this script... Thing is, i want to find the last paragraph, last line, last character and make it as full stop...eg. • can do anything if you need; (";" to...
View ArticlePlacing Group Library Assets
Hi All, Facing issues while placing grouped library assets in the active document. No issues while placing assets as a single text frame. Code is below: var myDoc = app.activeDocument; var myLib =...
View ArticleHow to get fillColor for characterStyle
Hi I'm trying to get the filColor for each paragraphStyle and characterStyle in a document. The (abbreviated) code below works just fine for paragraph styles. for (mySCounter = 0; mySCounter...
View Articlecompare 2 string equal false, open dialog
Hi all, I developpe a function who compare if a certain link is in an list. This list can be full by the user with a File.openDialog.My function work only with link who haven't any space in the file...
View ArticleIs it possible to get font names of the used vector graphics?
Hi All, Is it possible to get the font names of the used vector graphics?
View Articleadd missing plugin Indesign file to book
Is it possible to add the InDesign file in book which is showing "Missing Plug-in" message. If i try to add manually also, it shows the below error message: "File uses one or more plug-ins...
View ArticleScript to convert one style to another
Hi all,I don't really know much about scripts and indesign but from what i've seen it would be possible i just don't know how to go about it... so please let me know if i've done something wrong or...
View ArticleDecrementing a date
I do a monthly newsletter for a small business that hosts about 30 classes each month and they require the customers to prepay by the day before the class to get a discounted price, otherwise the price...
View ArticleApply a paragraph style to the first cell of the first row of a table
I want to apply a paragraph style to the first cell of the first row of a table.I’m using JavaScript with ID CS 5. Thanks.
View ArticleAutomate manual work with Tables
I am working on a project where I have a indd file containing tables which are mostly inconsistent in formatting.The workflow I have developed so far goes something like this: [Manual work]I select the...
View ArticleReplace fonts in InDesign CS6, js
Hi, is it possible to replace document fonts on document level in Indesign without going through every text object looking for them? Let's say replace all Times with Times New Roman. Thank you.
View ArticleHOW? = export to same folder without errors
Hey Guys, Ok here is my issue. I have to do several things to a document in indesign when I am finished. I have to save it as a PDF, make JPGs of the page/s and save it and close it. I have been...
View ArticleSortParagraphs Rules Do Not Follow Standards
SortParagraphs seems to use different sets of rules in determining the sorting order of hyphenated words and quotes. I sorted the following in InDesign’s SortParagraphs.applescript and compared the...
View ArticleHow to capture document changes using Javascript
Hi, Can anyone help me on the below request. Is it possible to capture document change event through Javascript. For example, If i delete a word, then the event should be triggered and alert should...
View ArticleWith CS4, some things have changed
This topic is not about new features but changes, primarily in the object model, that will affect scripts that run perfectly well under CS3.Bear in mind that as before, you can create a folder for...
View ArticleAction Recorder for InDesign
Rorohiko just released beta version of Action Recorder— an extension panel which allows recording and replaying repetitive actions and saving recordings as scripts. However it doesn't work for me in...
View ArticleHow to find a footnote's number?
more specificaly: how can i get the TEXT (string) that is displayed in a footnote reference (in the example * and **): and... how can i get it's number in the parent story? (i select a footnote, and i...
View Article