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

Importing 2-column word doc in InDesign

I have been looking into the plausibility of importing a MS word document, wherein the document is of single page with headers, footers, and a 2-column text.The import should work in a way that the...

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


Release all anchored objects at once

Dear All, I want to release an all anchored objects from my file. All anchors are created inside the table. I am using InDesign CS4. I have a file for 4 pages which is containing more than 150 images...

View Article

Sort algorithm: how can I sort two arrays according to one

I have two parallel arrays, similar to this: var array1 = [4, 3, 1, 5, 2];var array2 = ["four", "three", "one", "five", "two"]; I want to sort the first array, and have the second array follow the same...

View Article

Call another InDesign script with doScript in InDesign CS4 js

Hi, I need to call a separate InDesign script from an active script. Could I do it through java script, or do I need to call applescript to run the InDesign script. var myJavaScript = "myOtherScript";...

View Article


Getting the Physical Length of a Piece of Text (in mm etc.) in Javascript

I'm trying to write a script in Indesign CS5 (Windows) that can measure the physical, 'rendered' length of two pieces of text of similar length (in mm etc.), calculate the average length of the two,...

View Article

Image may be NSFW.
Clik here to view.

i want to customise my table so alternate rows are in bold font

i want to cutomise my table so alternate rows are in bold font - how do i do this ?  If this is by way of script please provide the script and how i write and apply the script.  first row gotham narrow...

View Article

(IDCS6 Javascript) Where can I find a list of eventTypes

I am new to Javascripting, so I am still trying to learn where everything is in the documentation.   I have figured out that I probably need to use an eventListener in order to make something happen (I...

View Article


specify target in URLs for buttons or hyperlink settings

I've been searching for hours on this simple question. How can you specify target="_blank" on a URL? I have an InDesign CS5 document with many hyperlinks in it. Actually they have been formatted as...

View Article


Change X, Y position of a text frame based on some conditions

Hi All,  I am trying to re-position the Y position alone of all text frames in a documennt if that text frame has certain Y position. Here is the code I tried. It works, but, it place all the text...

View Article

Finding Unassigned Glyphs

If we import or enter a text code (e.g. a Katakana character )  for which a font has no Glyph, then Indesign will display an x'd rectangle. Is it possible to find/scan for these with a script? Thanks !

View Article

[AS][CS5] Find and replace a missing font

I have an overly complex script that compares the document's fonts missing fonts to the system fonts and makes a best guess. It was written to handle conversion of Multi-ad Creator documents to...

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


GREP Style that creates fractions but makes exceptions for 9/11

I had this working great until someone asked a great question. "It works.  It changes 5/6 and even 67/128 to fractions, and it respects dates like 12/25/13.  But when it comes to 9/11, can you make an...

View Article

How to add a layer at top?

Hi, I need to add a layer at top only (at first position) I have written following code, which adds a layer  "up" of selected layer, so without selecting a layer how do i add layer at top. var layer =...

View Article


How to change reference point to center?

Hi all, I have page item and angle through which i want to move. I want a page item to be moved from center. So how do change it from topLeft to center? Thanks In advance,Pooja

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


alert rectangle size equal to dock.size

Hi forum,     How do i get alert, if the rectangle size is equal to the document size... I have the bit.... can anyone tweak this..   if (app.activeWindow.activePage.rectangles.horizontalScale...

View Article

Image may be NSFW.
Clik here to view.

Image Problem

Hi All, Request: For my script I want to copy all graphics from source document and paste in target document. But for one particular art, the script is quit. That art name not comes in "Link" also...

View Article

Image may be NSFW.
Clik here to view.

Character/Paragraph Style Hilight colors

In May 2010 Marc Autret posted this interesting blog: Show Local Formatting in InDesign CS4/CS5, where he shows how an undocumented feature of InDesign can be put to good use. If you set...

View Article
Browsing all 15932 articles
Browse latest View live


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