Adding text from a palette to a selected text frame
Hi everyone, I'm working on script that read XMl files on a palette. Then choosing one, I can see the nodes and the text content in a treeview. My purpose is to paste text into a textFrame on the...
View ArticleCreating Spot color in InDesign CS4, js
Hi, I have this code: try{ myColor = myDoc.colors.item("EMBOSS"); myName = myColor.name; } catch (e){ myColor = myDoc.colors.add({name:"EMBOSS", model:ColorModel.SPOT, colorValue:[100, 0, 0, 0]}); }...
View ArticleSplit Paragraph Into Multiple Text Frames
Hi everyone, Was wondering if you guys could help me out. I'm trying to automate the process of taking each line in a paragraph (separated by forced line breaks) and giving it its own text frame, so...
View ArticlePreserve Local Formatting script and CS4
Unfortunately, Dave Saunders' amazing PreserveLocalFormatting.jsx script (that changes local formatting to character styles) doesn't work under InDesign CS4. I've tried running it both as-is and in the...
View Articlefrozen overflows
Hi, Could you help me to find a reason of this effect:myTable is 4 cells table - all with some text contents. First - I set every cells width to 6pt (all overflows) and second - i try to grow width...
View ArticleHow to make a handwriting font look like real handwriting in InDesign CS5
This is a script I've written (AppleScript) that addresses the problem most handwriting fonts have — they look like fonts, mostly because they're settled so regularly along the baseline and their...
View ArticleHow to make at startup script that fits spread on open
Hi there,Does anyone know how to make a startup script for InD CS6 that fit spread too screen when document open?I've tried this and it works but I've get a dialog that says "Object is not valid":...
View ArticleScript to navigate to next or previous document
Hi,since CC it's impossible to assign the shortcut CTRL-TAB to "next document" and CTRL-SHIFT-TAB to "previous document"what I found out is, that it is possible to assign these shortcuts to a script,...
View ArticleJS ScriptUI CS4: How to create an indeterminate progress bar?
Hi Folks, Does anyone here know if ExtendScript (I'm using the CS4 flavor of ES) can produce an indeterminate (i.e., "barber pole") progress bar using ScriptUI's progressbar control? I've tried a...
View ArticleNeed help exporting multiple individual PDF files out of Indesign CC
I work for a monthly publication and we send our files to the press at the end of the month. There are around 190+ pages that need to be exported as individual PDF's and each PDF needs to be labled as...
View Articleturn off live update of cross references
I'm using Indesign CS6 and javascript.Is there a way to temporary turn off the 'live update' feature of cross references between separate indesign files?We find this feature to be a real pain if more...
View ArticleAutomate fractions using a script.
Hi, i was looking to automate the layout of fraction with a script.The script has to change 1/200, 1/20, 1/33 to fractions: When we do it manually, we insert an anchored textframe which contains a 2...
View ArticlePls correct my script for script label creation
Hi, I want to add the script label name in Masterpages only which was in 'Text thread' options. Is this possible by script?This is my code var myTextFrame=app.selection[0];...
View ArticleHigh Res - Low Res Pdf
Hi Friends, How to convert high resoultion to low resolution pdf in Indesign... by manually or by script Thanks,Divya
View ArticleVariables not returning correct value if script is run in InDesign
Ok, here is a snippet of my script. tellapplication "Adobe InDesign CC" setaspActiveDocumenttoactive document tellview preferencesofaspActiveDocument --get horizontal measurement units...
View ArticleMulti paged document into individual PDF pages - with names
I have an InDesign document that I use to create sell sheets for groups of sales people using data merge.I'm wondering if there's an easy way to extract these pages as individual pdf pages that have...
View Articleunlock-delete-create guides on master pages
Im having issues with code below. I inherited the previous designer documents would like to unlock, delete & create margins to the master pages. I'm no an expert but knows a little bit....
View ArticleExtracting single pages out of InDesign documents
Is it possible to extract or export single pages from an InDesign document?So far I've done it this way: I remove all the other pages, save to a new document and reopen the original document.Here's my...
View ArticleJS: How to remove duplicate items from an Array?
JS: How to remove duplicate items from an Array?I guess there will be a simple way ...
View ArticleTable text frame width adjustment by script
Hi,I have to capture my table cells within ‘Text Frame Width’ option with ‘Distribute Column Evenly’ , when it’s going to beyond the ‘Text Frame Width’. Is this possible by script? byhasvi
View Article