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

CS6 - how to get page number?

i have selected frame. I want to know page number, where it is.aSel = app.selection[0];alert (aSel.parent.name); - i get empty stringcause it' Object spread. And what to do then? (without losing of...

View Article


IDCS6 MACOSX JS: "remove unused layer" script doesn't see masters based on...

Hello everybody. I have an old script that I have used many times to remove unused layers. Until today I thought it worked well:  var layers = app.documents[0].layers.everyItem().getElements();for(var...

View Article


Resources for new programmer.

Hi fellow scripters. My boss hired a new programmer who's starting next week and since it was impossible to find someone with InDesign scripting experience, I would like to hear from you on what...

View Article

FindChangeByList script

I'm trying to use this pre-made script in CS4, and I customized the accompanying .txt file with all our Find-and Replace needs, but when I actually try to the run the script on a document, the...

View Article

javascript print pdf + multi-page pdf for duplex printing

It’s not pretty, but it works.I’ve searched a lot for a script like this but had to do it myself.I use postage software to print postcards (2000+ a pop) for promotional mailers. I print to a PDF file...

View Article


Specific Colour changing Script from RGB to CMYK

I need to change the RGB values (imported from word) to specific CMYK values in Indesign (its not a straight swop) so I need a script or a similar plug-in that enables me to input the colour values for...

View Article

Reset findTextPreferences.appliedParagraphStyle?

Hi, Does anyone know how to reset the findTextPreferences.appliedParagraphStyle value? A script I'm working on uses InDesign's findTextPreferences to search for a paragraph style, e.g.:...

View Article

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


Script that Selects All items on all pages

Is possible to copy all content in all pages ? , I'm creating a contact sheet(like yearbook page) with datamerge of a bunch of students, so I create a merge document with all students in individual...

View Article


Scripting Forum "Dos" and "Don'ts"

While this scripting forum is a great place to get scripting help, it's also very easy to misuse it. Please bear in mind that for most (if not all) of the participants here, writing scripts is a source...

View Article

[JS CS5] Find widest number in a numbered list

I am trying to automate as far as possible the process to set up a decimal align numbered list as detailed in this Indesign Secrets post. The first part of this requires recording the width of the...

View Article

Export selected items on each page in InDesign to JPEG

Hi All, I have InDesign CS5.5. I have a document with more than 50 pages and each page has unique image and the description for image.  I need to export each page as JPEG. but i don't want to export...

View Article

How do I delete all empty graphics frames from a document?

I have data merged a document and need to remove all the empty graphics frames as quick as possible. I have found solutions for deleting empty text frames but not graphics frames. Can somebody help...

View Article


Show/Hide panels (like Tab key)

Hi, I am trying to simulate via scripting the action to show / hide the currently active panels, just like tab key. It seems pre CS3 it was easy with PalettesVisible. This no longer works in CS5... can...

View Article

How to break link to cell/table style in a selection

I can break link to cell/table style in a current document, but if I want to do it in a selection, it seem error, anyone would help me to fix it? Script A (For Document is...

View Article


Script to interleave two InDesign files of equal page counts

I need to merge two documents so that the new one has pages alternating one from each of the source documents. The source files have the same page dimensions and page counts. Or it could be done by...

View Article

ScriptUI: replacing images

When you use graphic files (such as PNGs) for images, you can change the contents of an image control. The following script sets an image (iconA) but immediately replaces it with iconB, so that by the...

View Article


How to implement hyphenation for Armenian in Adobe InDesign on Mac OS?

Hi,I'm using Adobe InDesign CS4 and CS5.I've never written any kind of plugin neither for Adobe InDesign nor on Mac OS, so I need your help to consider what's the best solution for this kind of...

View Article

How to Export two different type of images at the same time?

Hi everyone,I asked this in another forum and I was refered to ask this in the section of scripting. so there is my question :  I currently work at a company who needs to export two different type of...

View Article

Change specific link path across documents.

I'm writing a simple script to change the path for a number of links across multiple documents. I'm getting a 'filePath is a read only property' error for line 7, even though I'm not trying to rewrite...

View Article
Browsing all 15932 articles
Browse latest View live


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