How do I reference by text frame label?
This is the code I have found to work for adding text to a text frame. It works just fine if there is always "text frame 2. tellapplication "Adobe InDesign CC" activate tellparent storyoftext...
View ArticleHow to discover text objects with specific point size
Can I somehow narrow down the selection to point size xx and smaller? I'd like to outline those objects later. var alltxtObjsBelow10 = app.activeDocument.stories.everyItem() //...with point size...
View ArticleIndesign (IDML file) Viewer using HTML5 and Javascript
I’m working on IDML file automation. My requirement is to showcase an IDML template in an HTML5 editor.I have a simple TextFrame with Hello World text. I saved the file as: sample.idml. Then, I...
View ArticleKeyTerm pickup
Dear Friends, I need keyterm definition placed in stub column My requirement is:1. Multiple keyterms placed in one box2. Each keytem placed in each box Input file:My Requirements: 1. Multiple Keyterm...
View ArticleHow to know which text frame's page number in cs6?
Hello all,I want to know page number of selected textframe. I tried different properties but unable.Help need on this line: alert(i + " " + myFrame.id + " " + myFrame.parentPage.id); // here i...
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 ArticleOveride all master page's text frame only
I have a document have 6 pages with 3 master page, A-master, B-master, C-master, A-master have 3 text frame, B-master is base on A-Master, and C-Master is base on B-MasterP1-2 (Apply A-Master), P3-4...
View ArticleHow to find top level object on a given layer?
I need to assign it to a var... var topLevelObj = app.activeDocument.layers.name("foo")... whatever is on top of that stack... ...this is probably not correct but you know what I mean
View ArticleCanvas support in Indesign scripts?
Hi there, short version: I was wondering if it is possible in any way to include auto generated raster content (Using canvas api for example) in in-design using JavaScript? Long version:I noticed that...
View ArticleHow to make this script work
Help me to make this script work, please! function(){app.findGrepPreferences.firstLineIndent = "8 mm";app.findGrepPreferences.leftIndent = "8 mm";app.changeGrepPreferences.firstLineIndent = "8...
View ArticleRemove extra enter mark by script
Hi, I need to remove extra enter mark in my Indesign file, at the same time it should not be affect the above and below styles.byhasvi
View Articlecorrect my script 'clear empty enter mark'
Hi, My script is working for remove extra enter mark in Indesign file, but when its removed that time the enter mark followed para style is changed. I want to remove the enter mark at the same time I...
View ArticlePDF export automation
Hello, My company is looking for a way to automate our CD label generation process further than what we have it at now. I was directed over here from the general InDesign community. We are on Windows 7...
View ArticleTrusted Source
I need to execute a JavaScript outside of the scripts panel, triggered by another process. Each time I run the script, I receive the message:>You are about to run a script in InDesign CS3. You...
View ArticleHow to cleam memory in InDesign.
Dear all, We are developing a extension for Adobe InDesign and after many months of development we are still stuck with various things we cannot find a proper solution to them. The extension exports a...
View ArticleGet coordinates of path of a text selection
Hi, I want to get the coordinates of the path of the selection made on some text content. Is that possible? Thanks!
View ArticleText wrap bottom offset-by script
Hi How to increase my 'text wrap bottom offset' values by script? byhasvi
View Articlewhat is wrong? with ID script ,auto change image size use photoshop?
I get this scrip from somebody,It is used to auto get the imagesize in Indesign,Open in ps.here the image size is touch with "Direct Selection Tool",then we see the ture width. but,here, I would like...
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 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 Article