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

Image may be NSFW.
Clik here to view.

Issue in paragraph iterate

Hi,   When Im finding the paragraph texts using findTextPreference, its returning more than one paragraph.  I am replacing inline icons and getting contents for each paragraph. This process is working...

View Article


Exporting a 6 pg document and changing a text frame on 1st and 6th page for...

I have these 6 page brochures and there are 50 marketing codes which need to be on first and 6th pages (different codes for each document exported). Rather than manually changing the marketing codes on...

View Article


ExtendScript Oddity with File/Folder on Mac OS X

Here's a really odd one, happens on Mac OS X Lion 10.7.3 with InDesign CS5.5.  Enter the following little InDesign Script in ExtendScript Toolkit, and run it targeting InDesign CS5.5: // Create a path...

View Article

InDesign CC addEventListener not work

Don't work in InDesignCC addEventListener: var w =new Window ("dialog");var b = w.add ("listbox", undefined, "Qwerty");b.addEventListener("click", function (k){    alert("detail: "+k.detail+'\r'+"X: "+...

View Article

Move URLs in Text to End of Story Or Link Text. Also: Tables

Hello everyone I'm currently working on a script that translates Textile Markup into formatted InDesign-Text. This worked fine for the most part, seeing as it's not really hard to do by...

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

Image may be NSFW.
Clik here to view.

A script for adapting text to frame

Hi all, We are using InDesignCC for creating PDF files online.This hapens with XML output. And on demand our customers can put variabel fields in en can generate a pdf to view the results. Online it...

View Article

Shared Hyperlink Destination

I'm creating a hyperlink using: var myHyperlinkURL = myDocument.hyperlinkURLDestinations.add("http://abc.com", {name:"abc"});var myHyperlinkSource =...

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 to delete alternate layout

I am writing a script that puts ID documents into the correct folder and naming structure to be batch imported into a folio. The documents have two alternate layouts, the original "Print" layout and an...

View Article

Hundreds of images... need a script for pan & zoom

Has anyone come up with a way to do a mass pan & zoom for all of the images in the document? I have over 300 and it's slightly tedeious to sit here and do a manual pan & zoom on all of them.

View Article

[AS][CS6]Paste into from one document to another

Hello, I have a group in a first InDesign document and I want to paste it into a frame in another document. Exactlylike a Copy/ Paste Into.I tried this, but that doesn't work: tell application "Adobe...

View Article

Auto Subtract Time Zone Values

I'd like to automate changing all EST times to PST.  And this tool   —   http://indesignsecrets.com/free-script-to-change-all-numbers-in-a-docu ment-using-math.php  —  comes close.  There is a custom...

View Article


ZIP-package from indesign (by script)

we have a javascript that writes lot´s of files from indesign... developers of the next step asked if it´s possible that indesign would package all those files to a ZIP-pacakge... is it possible?

View Article

Getting page items in correct Z-order

We have a rather complex Indesign plugin that I want to port to Javascript for increased maintainability. Unfortunately the SDK is pretty different from the Scripting API in many ways. One thing that...

View Article


Image may be NSFW.
Clik here to view.

ScriptUI : edittext live modifications problem

Hi,I set a scriptUI interface. I have two buttons :     - one has to add a carriage return on the edittext field     - one has to add tab.I am using textselection property of the edittext object.On Mac...

View Article

Image may be NSFW.
Clik here to view.

JS/ScriptUI: placeholder madness

I created this yummy text box entry placeholder for CS4 on my Mac:  but for some reason this fails to draw correctly on Windows! If the edit box is active and the cursor is in it, the text is not drawn...

View Article


Getting the offset of a placed PDF within the container rectangle

I need to get the offset of a placed PDF inside of the container rectangle. I have figured out that this information should be available in the transformationMatrix of the placed file. So I do...

View Article

Textvariable page size?

Hello,I was wondering if there is a way to define a variable in ID CS 6, that displays the actual pagesize? (I have one document with a lot of different pages and sizes.) Any help is highly...

View Article

Shared Hyperlink Destination

I'm creating a hyperlink using: var myHyperlinkURL = myDocument.hyperlinkURLDestinations.add("http://abc.com", {name:"abc"});var myHyperlinkSource =...

View Article
Browsing all 15932 articles
Browse latest View live


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