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

Using resolve with toSpecifier() output for quick image previews

Hi there, I am building an image preview service for in design documents in which a user uploads in design file, we extract custom fields, and display a GUI for the user to enter in custom field values...

View Article


Image may be NSFW.
Clik here to view.

Can you help me with this script

with the following command in the master page object style (AA1) I'm active   var d = app.activeDocument; function myFindObjStyle(a) { var x, i; for(i = 0; i < a.length; ++i) { if(i == a.length - 1)...

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 Error code 55: does not support

i'm trying to run the following script: Eu estou tentando redoar o seguinte script________________________________________________________ var myDocument = app.documents.add();var myTextFrame =...

View Article

How can I replace ParagraphStyle

Hi All, I need to one of the paragraph style remove and replace another paragraph style. See below coding. Please advice.   var mydoc = app.activeDocument; var mypstyle =...

View Article


Undefined Variables

I have the following piece of script, used to import xml files from a folder to a template, but I can't get it to work.var myTemplate = File("/E/template.indd"); var MyFolderWithFiles =...

View Article

Image may be NSFW.
Clik here to view.

autoflow or running footer

i created a book with 500 pages, i need to make autoflow running footer with the footter in curent pages is a first word in next page, is it possible to make it in indesign? i need help..RegardsEIP

View Article

[CC14][AS][JS] Applying Auto-Size settings to a text frame

Hello, Does someone knows how to apply Auto-Size settings to a text frame with Applescript (or with Javascript  — i'll translate it)?Thanks for your help!

View Article


Image may be NSFW.
Clik here to view.

Gerp Styles in CS4

in my ID CS4.. when i try to make a "grep style".. every option are grayed out, not available! Any Advice/help? 

View Article


Last 5 digit of ISBN

Hi, I need to catch the last 5 digit numbers from the 13 digit ISBN, if it possible to capture with the script?  Example: 9840000123412var myNumber = 9840000123412;alert(myNumber)var mySplit =...

View Article

EPUB/HTML Exportoptions scriptable?

Hey,  with InDesign CS5.5 we've got the possibility to control the rasterize and position options for EPUB and XHTML export. (Object -> Object Export Options). Is there any way to acces these...

View Article

Struggling to script removal of addedWords from UserDictionary

First, I know, I work for Adobe, can I just ask some developer here? Yes, but I ask a lot from them already, and I try to give to the forum community, so I'm trying to get some in return :-) I'm trying...

View Article

[AS] How to test the presence of at least one table?

Hello everyone,   I would like to test for the presence of at least one table in a document before starting a process (on edge strokes).   I found this, but I do not know if this is really effective:...

View Article


Image may be NSFW.
Clik here to view.

Get absolute Page number

I have a file have 2 page number are called "1", if I print page 1, it will alert there have more than 1 page of that page name, can javascript can get absolute page number? if I use...

View Article

GREP Problems

Hi experts, I want to check the bracket with specific font and alert which page, but when I run the script, it cause indesign crash, it is something wrong with my script, please help me to fix it below...

View Article


Need GREP To Identify Multiple Patterns

Hi I am attempting to format text by identifying it with GREP patterns, then applying styles via InDesign's paragraph and character styles. I was able to get half of what I wanted using Nested Styles,...

View Article

Preserve Local Formatting script and CS4

Unfortunately, Dave Saunders' amazing PreserveLocalFormatting.jsx script (that changes local formatting to character styles) doesn't work under InDesign CS4. I've tried running it both as-is and in the...

View Article


Why does closing a window in Indesign doesn't work?

I have a question concerning Indesign script.Why does it work, when you close a window like:submitButton.onClick =function(){ close();}But when I try to execute a function afterwards...

View Article

Image may be NSFW.
Clik here to view.

Help with Combine Docs script

Hi,I am writing a script that combines a list of docs into 1 doc.The script starts with a dialog with a list of all open docs.The user chooses the files he wants to combine.The script reads the list...

View Article

setting grouped paragraph style with app.findTextPreferences.properties

I am trying to set my app.findTextPreferences using the .properties object...  In particular, I need to set the appliedParagraphStyle property. So I create an object like this:{findWhat:"some text",...

View Article
Browsing all 15932 articles
Browse latest View live


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