Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Browsing all 15932 articles
Browse latest View live

Suggestions for changing tab with underline leader

I frequently create forms where I'll use a tab with the underline for the leader, e.g., Name_________________  Age___________, etc.I like the line to be thinner than the text, say the text is 10pt I'll...

View Article


Applescript—Apply Character Style to Select Words in InDesign CC

I'm trying to apply a character style to the first several words of a paragraph. The number of words varies, but it is essentially every word before a comma.  Here's what I have so far:   tell...

View Article


Undefined Variables

I have the following piece of script, used to import xml files from a folder to a template, but I can't get it to work.var myTemplate = File("/E/template.indd"); var MyFolderWithFiles =...

View Article

I want to find the image tag name from Image layer name InDesign JavaScript?

I want to find the image tag name from Image layer name InDesign JavaScript?

View Article

Command in Java for "all opened documents"

I have a script that needs modification. Thank you all in the forum for helping me design this script from start btw! Anyway, this is the script. var myDoc = app.activeDocument;app.findGrepPreferences...

View Article


Need Table Script Help Please

Is there a script to distribute table columns evenly between guides or margins? Here is the issue I am having. I have a big catalog and I need to take the price column out of every item but then i have...

View Article

[AS] How to test the presence of at least one table?

Hello everyone,   I would like to test for the presence of at least one table in a document before starting a process (on edge strokes).   I found this, but I do not know if this is really effective:...

View Article

Dialog window about question

Hello, How I can catch enter button pressed on a EditText?  For Example we can do something like  window.add("checkbox", undefined, "Example").onClick = function() {                // checkbox state...

View Article


Rearranging XML structure

Noob question, Can you rearrange an XML structure with XSLT or scripting? Lets say I've got an clean XML structure like this: <Workbook>     <Element_A_01>...

View Article


Image may be NSFW.
Clik here to view.

make grid script wont work??

i cant seem to make this work - i create a graphic frame but when i double click the make grid script i get this message - what am i missing?

View Article

[AS] storing records in the document

Im trying to store some PDF-export settings in the document as a label key string. 1) How do I convert the record to one string?2) How do I convert the string back to a record?I want the return-value...

View Article

Preserve 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 Article

executing a script [listener] on document size changes - like a variable

I would like to use variable to populate a text box with the document size, but Im not sure this is possible yet… so I've found a script which can be applied to a text frame and be executed through the...

View Article


Export 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

get swatches in dropdown list with color preview...

Hi experts, I am creating one gui for swatches related automation task in CS4 using javascript. Is it possible to get swatches in dropdown list with its color preview? Same like colors in Swatches...

View Article


With CS2, some things have changed

I have not located a place where changes in scripting between CS and CS2 are reported, so I thought I'd start a topic here with some of the things I know about.This is about changes to the object model...

View Article

Foot numbers ranges script

Hi all, I need a solution for foot number for page ranges in every page. Example: Orginal asasada asdasd das dasd asd 1,2,3 ------------------------1. asasas2. asasasa3. asasa  Exapectation output...

View Article


get the xml element pagewise

How to get the XML element page wise. I need find the element in every page by order 1, 2 ,3Please advice.

View Article

How do you use JS to open a Folder dialog

If you use this to open a dialog box to select a file:     File.openDialog("Select your XML File", "*.xml") The how do you open a dialog to select a folder.  I would think it would be something like...

View Article

How to create a script that deletes all InDesign pages except selected

How do I create a script that does the following: Delete all pages that are not selected. Then.... Save a copy, prompt for file name and location. Then.... Undo the removing of pages (so that I can run...

View Article
Browsing all 15932 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>