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

Performance Tweaks

Hey guys, I'm looking forward to hear about your performance tweaks to your make scripts run faster. Other than disabling the redrawing of the screen  application.scriptPreference.enableRedraw = false;...

View Article


New CS4 features

At Dave's suggestion, I'm starting a thread for discussing new scriptingfeatures is CS4. I'd divide new features into three categories: 1)improvements/additions to the InDesign DOM, 2) improvements to...

View Article


Place grid snippet in original position rather than gun

Hi.As part of a script, I want to place a grid that is saved as a snippet in the master page at the original snippet location. Even though Snippet Import prefs are set to Position at Original Location,...

View Article

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

clear pasteboard with alert (yes or no)

Hi All, I am trying to clear pasteboard with yes or no alert, script running without error but not functioningWhat my error, any help ?  //Pasteboard Clean confirm("Do you want to Clean PasteBoard?");...

View Article


Script to select all overflow text frames and fit them to content?

I have a document with several text frames that have overset text, due to replacing a font.  I was looking for a script that would: 1. find all the text frames that have overset text2. apply "fit frame...

View Article

bullet on end of the story

I have again a "little" problem. How can I add bullet character on end of the story / end of the selection. As in the newspapers, right-aligned in the last paragraph line. thank you very much.

View Article

Square meter info

Is it passable the see the square meters (m2) of a dokument in a easy way? I don't want to manually count hundred of documents...

View Article


Image may be NSFW.
Clik here to view.

Increase / decrease the space before / after a table …

Hi all, I have not found any shortcuts which, after you select a table, modify the space before or after.  Does anyone have an idea? Otherwise, an early idea for a [JS]?  Thank you in advance! 

View Article


Cannot handle the request because a modal dialog or alert is active

hi alli try to use indesign product sdk CS5 using com object to open and edit document with asp.netthis error appear to me in this part of my code             InDesign.Application indApp =...

View Article

Image may be NSFW.
Clik here to view.

Increase / decrease the space before / after an anchored block …

Hi all, I have not found any shortcuts which, after you select an anchored block, modify the space before or after.   Does anyone have an idea? Otherwise, an early idea for a [JS]?  Thank you in advance!

View Article

Adjust tracking (character spacing) of selected text

I am looking for a script that will allow me to apply a specific tracking value to selected text in InDesign. I'm not even an amateur in scripting.  I found the following script in the referenced...

View Article

alternate row shading in tables

Hi, I am working in financial tables. the tables having alternate row colours. I have applied cell styles to all table body rows. In additionally  i need alternate row colors in all tables, in table...

View Article


[CS6/JS] Best practices checking whether eventListener already exists or...

Running the following piece of code in a script will register a javascript function named "afterSelectionChanged" to be run as soon as the selection is changed – the second parameter is the function...

View Article

Image may be NSFW.
Clik here to view.

Financial table alignment

Hi, I am working in financial tables. i need script for the below requirement. Any one please suggest. For all tables from second column onwards ""Tbody_rightalign" paragraph style. and all parenthesis...

View Article


Bullet style

Dear Friends; I am the beginner in javascript, my request is applied all bullet paras applied paragraph style is "CN":  var myDoc = app.documents.item(0);var myPages =...

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


Javascript Get the Current Path without %20 and / backslash

Hi, If i trying to get my .indd path, it is giving the path with %20 and / backslash and ":" also missing. How can i get my path with exact format because i need to pass the path as a argument to a bat...

View Article

Find left column of every table

Hi, Anyone please provide the script for the below requirement.  Find Left column (1st Column) of every table and apply the paragraph style for "Tbody_left".  Regrds,Velu

View Article

Find the row contents in CSV File

Hi Forum, Im reading the CSV file, and want to find the content on a Cell, which is is below the content "retail" in a header row, and referring the indesign file name which is present at the last...

View Article
Browsing all 15932 articles
Browse latest View live