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

evaluateXPathExpression

Hi All, var myDoc = app.activeDocument; var myRoot = myDoc.xmlElements[0];var myElms = myRoot.evaluateXPathExpression("//*[@aid:pstyle]");alert(myElms.length);   length returns 0.how can i find all...

View Article


How to get glyph ID using JS?

Hello, Please let me have the details to get the glyph ID using JS like some of the special characters used in the InDesign file doen't have the unicode value and InDesign is replacing them as...

View Article


With CS4, some things have changed

This topic is not about new features but changes, primarily in the object model, that will affect scripts that run perfectly well under CS3.Bear in mind that as before, you can create a folder for...

View Article

Nested styles and textStyleRanges

HI all! I have to recognize all textStyleRanges in my documents. Unfortunately character styles described by a nested style are not really applied to the text and the paragraph looks like a single...

View Article

[AS or JS] How Can I Access/Gather Font Informations?

Hello all, is it possible to gather font information that is embedded in the font file of a specific font via scripting? E.g. Kerning pairs with values, widths, side bearings of certain characters...

View Article


GREP expression for last line followed by column break

For all those reading this, thank you for taking the time to help. I'm a noob at GREP expressions and JavaScript so I appreciate all your time and help with this. I've written a JavaScript to help my...

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

Place image into table cell based on text value

Hi, I'm looking at converting plain text into InDesign Tagged Text. This tagged text stream will have multiple tables, and each table will have a cell whose text value is the full path to the image...

View Article


Image may be NSFW.
Clik here to view.

[JS] [CS6] How select text from XML structure

Hi, I want with javascript select text from a XLM element (like screen capture : double-clic on "CHAINE", select "CINE CINEMA)Thanks for your help RegardsRonald

View Article


Why doesn't the #target directive work in InDesign CC scripting?

I have a script which works fine when run from ExtendScript Toolkit on both InDesign CS4 and InDesign CC -- but I am unable to specifically target CC using the #target directive. At the top of my .jsx...

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

Check continuous Page Number in Document

Hi ALL, Is it possble to check the continuous page number in the active document. Problem is due to using multiple "Number and Sections options" in the F12 pages panel. No error: alert("Pass") if any...

View Article

Auto save

Is it possible to set up a script that would run automatically on file open and save a copy periodically, or perhaps better, one that would run on file close

View Article


Can you embed a Javascript within a InDesign file

Hi,Could anyone tell me if this is possible.We would like to embed a Javascript within an InDesign document so that if someone was to receive the InDesign File it would contain that script.I have...

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


Get text selection and properties

Hi All, I need to get the text selection in my active document so that I can access the properties of selected text like paragraphs, font styles, colors etc.I wrote the following script to get text...

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


Image may be NSFW.
Clik here to view.

chronological order number needs in index numbers to be changed as ndash

Hi allI have a task to complete the below requirement for Index part in a book. Please help me.I have sequence of numbers like this,Index1, 26, 35, 36, 37, 47Index2, 65, 78, 79, 89, 90I need to change...

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

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
Browsing all 15932 articles
Browse latest View live


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