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

set fonts and styles based on xml parent's attribute

Hi,  I am trying to write an Indesign javascript that can set the font and style based on the import XML parent's attribute, <products><product>    <language...

View Article


Image may be NSFW.
Clik here to view.

ScriptUI auto-hide layout and styling

Hello,I'm having troubles with a script (actually I'm running it in Photoshop, but I'm posting here because this place is densely packaged of ScriptUI experts ). // Test script var winRes = "dialog { \...

View Article


InDesign 7.0 breaks Visual Basic reference

I've previously posted this to the Indesign SDK & Scripting forums, but haven't gotten a reply.I thought I'd try again, rephrasing it a bit.When I installed Creative Suite 4, InDesign 6.0 installed...

View Article

Create PDF Export Preset via Applescript

I have created an InDesign Applescript to export InDesign files with a specific preset name. However, since this is used across a large team, I need to make sure I have something in place if they don't...

View Article

Image may be NSFW.
Clik here to view.

Exporting each articles button names to an Excel Spread Sheet or other form

Is there a way to export a list of all the button names in each article to an Excel spread sheet or some other form? If someone knows of a script that does this that would work to. The button names are...

View Article


Need selection textframe width

Hi All, simple Request: If Selected textframe is "100mm" (alert pass) Otherwise selected textframe is !=100mm (alert fail)  Code is below:app.activeDocument.viewPreferences.horizontalMeasurementUnits =...

View Article

Image may be NSFW.
Clik here to view.

move element

Scripters, I want to move my child element <tag4> before its parent element <tag3>. From this To this:   Please suggest the js code. Thanks,Thomas

View Article

Image may be NSFW.
Clik here to view.

What causes FindChangebyList to not work from CS5 to CS3?

I've done a dozen of these now.   And my txt file looks good.  I don't get an error either.  But the jsx simply does nothing.  No error, nothing. I even ran an older jsx file that works against the new...

View Article


Image may be NSFW.
Clik here to view.

Remove specific elements

Hi everybody , I'm trying a little script in Javascript for InDesign. Before exporting my final PDF from InDesign, i want delete all TextFrame empty and Graphic item with link to a specific image (...

View Article


apply paragraphStyles Inbetween paragraphStyles

Hi Forum, this is the script im trying to change paragraphStyles[BodyText_Indent] of  paragraphsbetween "bullet" style and "bullet_2" style. only one instance is happenningafter"bullet" style and...

View Article

New CS4 features

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

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

Image may be NSFW.
Clik here to view.

add definition

Hi, I have to add keywords definition in one InDesign doc (target document) from other InDesign Doc (source document).  Can it possible throught JS. Please help.  Target Indesign contents are:   Source...

View Article


"find any word starting with uppercase" grep?

I know this should be easy.  All I m finding is "find all uppercase word"—not usefull to me in this case.What I really need is to find two or more words starting with uppercase in a row—a way of...

View Article

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


AppleScript to check all pages within one Indesign (CS6) document have same...

I have bunch of InDesign (CS6) documents containing different page sizes (some are designed for a particular device and some are designed for multiple devices using alternate layouts). I need to assure...

View Article

find and remove text frames with same geometricBounds

Hi Scripter ...new question starting from here: var mySelection = app.activeDocument.selection[0].geometricBounds;//alert (mySelection); everywhere in the document i need to find and remove text frames...

View Article


GREP find/change problem

Hi, am trying to execute InDesign's default find/change AppleScript script to fix many formatting issues in a large document. One of them is occurences of a two-digit dollar figure followed by a comma...

View Article

[CS4/5][JS] Script causes InDesign to crash

Hello, I'm having a bit of an issue with some InDesign scripting i'm working on, and wonder if anyone else has had the same issue.  I have a script that uses app.dialog to prompt for user information....

View Article

need help with a GREP statement

I'm trying to select just the x舌ぽう (舌鋒x) ぜっぽう (sharp) tongueじょう舌 (饒x舌) じょうぜつ garrulity, loquacity Its always in parentheses. So I want to LookBehind for a left parenthesis then zero or more characters,...

View Article
Browsing all 15932 articles
Browse latest View live


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