Activating Browser window from within an InDesign Javascript
Hi AllA part of a Javascript I have inherited, relies on Applescript to call to open the active Safari/Chrome window, and extract some information, then use this in the JS with InDesign.What I would...
View ArticleHow do I assign a paragraph style to text being added to and existing text...
I have and existing text frame that I want to add more text to and at the same time assign a style to that added text.Then add more text to the same text frame later. I can do it using "set applied...
View Article"Copy Link(s) to…" using javascript
Could you show me how to write a javascript that can do the "Copy Link(s) to…"? It would be time consuming to do it manually. Thanks in advance.
View ArticleHidden miliseconds
Hi Forum,Playing with Date objects I faced with something weird. Let say a goal is to calculate a differrence between two dates (how many days).Since endDate - startDate returns number of difference in...
View ArticleProblem with save preflight report using javascript in macintosh
Hi Experts, I need to generate preflight report from InDesign CS5. But I got a error in "ExportPreflightReport.jsx" Here is my code: var myDocument = app.activeDocument; var myProfile =...
View ArticleGrep find & change decimal and thousands
Hi All, I want to find a digits some of types using with grep in single find and change (1) First type comma(,) for decimal and space for thousands and ten thousands 1 100 406,50 (2) Second type dot(.)...
View ArticleStript to run multiple find/change presets
I've a number of find/change presets and was trying ot figure out how to run them all automatically - I've ound various resources on scripts that do multiple custom searches but nothing about preset...
View ArticleHow do I select a specific word inside a TextFrame?
I want to highlight a word inside a TextFrame, but I'm only able to select the entire frame. I have tried something (and several related version) like this: var textFrames:com.adobe.indesign.TextFrames...
View ArticleInDesign - batch of documents that need page resizing. need help ASAP
hi everybody, share your vast wisdom with me and help me with this please ive got about 450 documents that are currently at 160x160 pixels. they all need to be 180x180 any scripts around to do this for...
View ArticleHow to save a copy of file? (need simple javascript)
I am noob, so need a Javascript script/install for InDesign CC, that runs automatically when any file is opened, and saves a copy of the document to a specific folder automatically, with current time...
View ArticleResize Images proportionally using constrains
Hi, I need to resize the images proportionally in INDD document based on height & width or Scaling using Constrains. If anyone know pls let me know. Thanks in advance,Sudha K
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 ArticleFind/Change By List help
Hi all, New to scripts here using InDesign CS6. I need some help on how to set up the find/change by list script in InDesign. I searched the forums but I don't quite grasp if I need my list saved as a...
View Articleextract paragraph style name with formating
All kindly help me How to extract ParagraphStyle name with formating to Sample.txt: EG: Style Name: "Body"Font = "15"leading = '"18"Aligh = "Left" etc... RegardsHurix Edit by Dave Saunders: Something...
View ArticleGrep Kerning and tracking characters
Can anyone suggest me, how to catch kerning and tracking characters without going each character in text group... any fastest way to catch this.. thanks in advance
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 ArticleHow do you automatically create paragraph styles from a document?
Hi,(posted in general indesign as well - advised to post over here) I know I've seen this somewhere but can't for the life of me find it... How can I automatically create paragraph and character styles...
View ArticleRemove All Missing Links with frames
How can I make a script to remove all missing links with frames In indesign? var doc = app.activeDocument;var links = doc.links;for (var i = links.length-1; i >= 0; i--) { if (links[i].status ==...
View ArticleFind Rule and insert content
Hi All, I need to find the rule with stroke 1 and color is "MM". Once I find the rule, need to replace the rule with the content "aaa". Trying the below code is: var myPg =...
View ArticleExport to Excel...from ID CS5
Hi there, my coworker posted something similar on the InDesign forums but I thought I would ask over in scripting as well. I've also searched tho forums and found alot of info on importing from excel...
View Article