Find all Skew characters
Hi ALL, Is it possible to find the Skew content in the document??? For example, if the skew is like as 1 to 180 etc., We can catch the skew characters like as below onlyapp.findTextPreferences.skew =...
View ArticleScript for collect the 'Master page-Text frame-Content' details
Hi, How to collect 'Masterpage--TextFrame--content' details from Indesign file. If the Master page spread has text frame, I need to collect that text frame content in the separate file. If this...
View ArticleMulti-Line records with Condition?
Hello, Can somebody help me with this query please? Can we have conditional 'Data Merge'? To give an example: I have a CSV file with multi line records referencing to a CUSTOMERID (ie:Parent - Child...
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 ArticleChange scripts to run through multiple documents in a book, rather than just...
I have a number of scripts that I run, that run through entire docments. But to apply their changes to an entire book I have to open up each section (or document) in the book and then run the script,...
View ArticleI need only content details from my code
Hi, See collected the Master page text content details from below code using Indesign javascript: if(master[i].textFrames[j].parentPage != null){ contents +="\""+ master[i].name + "\",\"" +...
View ArticleParagraph to textFrame or Rectangle text
Please help, I am really stuck. I have a bunch of classified ads (each is a Paragraph) in three columns (each is a textFrame). I have no control over the foregoing. For each paragraph starting with...
View Articlemore efficient right aligned page numbers in TOC
In order to right align the page numbers in a table of contents, after generating the TOC, I need to manually insert a tab character to the left of each automatically generated page number.I'm looking...
View ArticleRequest two scripts for Indesign set left indent
Can someone help me? I really need two scripts for indesign set left indent:1. If the left indent is: 8, 16, 24, 32, 40, 48, 56mm... set the first -8mm; if the left indent is 0, set the left indent...
View ArticleAssociatedXMLElements of a paragraph
Hello all, I'm manually mapping styles to XML elements. I then have a script that that searches for a style and on the found object loops through the AssociatedXMLElements looking for the element name...
View ArticleNeed script to place line break based on character style
I'm a designer and know very little about scripting or XML, but here goes. I have some XML files I'm formatting for print, and they don't have paragraph returns where they need to be. The returns...
View ArticleModifying an old script from Dave Saunders
I've gotten permission from Dave Saunders to ask someone here to help modify a script he wrote way back when. The script is posted at: http://pdsassoc.com/downloads/PDFimportCropPref.jsx.zip The...
View ArticleProblem in create Hyperlink
Hi All, I create hyperlink by finding http and www in my active document. //Works well But the problem is, if the url or websites contents coming twice or above then I found error...
View ArticleFont size script
Hi, i was hoping it was possible to create a script to reduce all fonts in a given document down a point size (example: a heading at 16pt and a paragraph text at 12pt would then become 15pt and 11pt...
View ArticleIs 'Keep with next' possible?
Hi, We have the option for 'Keep with Previous' in indesign at 'Paragraph Style Options', as like that can we create script for 'Keep with next'. For instance some 'H1' styles are stands in page end,...
View ArticleHow Can I write Script for Indesign set left indent
I really need two scripts for indesign set left indent:1. If the left indent is: 8, 16, 24, 32, 40, 48, 56mm... set the first -8mm; if the left indent is 0, set the left indent 8mm, first -8mm.2....
View ArticleList of fonts
Somebody posted a question about how to write a script listing all fonts with details.But while I was writing the script the post has gone. (How could this happen? ) Here is the script — it writes a...
View Articletrying to override masterpage items
using CC.Here's my scriptstell application "Adobe InDesign CC" tell every item of page 1 of document 1 set allow overrides to true end tellend tell I get error -10006Can't set allow...
View ArticleIs there a script available to make an alternate size layout of a book?
Hello:I was referred to this forum from this thread: How can I export a pdf of an InDesign alternate layout from a book?I have a book that is in a 6×9″ layout and I would like to make an alternate...
View ArticleBridge talk for InDesign CS4/CS5 js
Hi, Have this code that opens file in Ph and resaves it in different format. In this case I need to adjust it to open pdf file in photoshop and set crop to media box. It works with pdf files as is, but...
View Article