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


Reference between indd and idml

Hi, I have a question regarding to idml export. If I have an indd document, and export it to idml, is there any reference between those 2 documents? So if I export to idml and unzip it I have for...

View Article


Open With

I am saving a txt file and I want it to open (execute) in excel after the script creates it. I probably can't do it in JS and need to do a little doScript in VB and AS Can anyone show me how to do...

View Article

Search text variable and replace it with another text variable

Hi, I want to do the following with VB script.Can someone help me? I have a document with text variable A and text variable B are defined.And, text variable A is used in the document. 1.search all text...

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


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

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 print PDF with H&J Highlights

Hi I need output pdf with H&J Highlights, so that we can validate the H&J without native file. Is there any options in applesctipt/javascript. Thanks in Advance

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

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


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

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

Image may be NSFW.
Clik here to view.

hi i want to create a shape with multiple point

My original text frame is: All character make by using the pen tool pointI used that script(shows below) for first 2 character of that text frame which is create by the use of pen and pencil tool...

View Article


Place snippet script

Hi all, I am working on a script that is asking InDesign to place a snippet into the slug of whatever document is created. The problem is I don't seem to have control over the placement coordinates of...

View Article

How to apply a Character Style that's already been made in a template document?

First of all I'd like to thank everyone that helps. I'm a complete beginner at scripting and appreciate all your help. I'm basically using GREP expressions to find patterns in a document and apply a...

View Article

Script that will show the character count of all carriage resturns

I have found a bug when exporting an indd to idml. If a a carriage return falls in a character count that is a multiple of 8000 + 1 it is converted to a paragraph separator (u2029). I am in the process...

View Article
Browsing all 15932 articles
Browse latest View live


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