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

textFrames in Page class does not includes the groupped ones

Hello, We want to find text frames that has object style "X" in all pages. So far, we wrote this. [code]function paragraphByNesneStilWp(stil) {    var tests = [], i, j, it, p, buldu, d = myDoc;...

View Article


Retrieve content of text box

Hello,I am trying to automate a complex PDFing process. A single indesign document needs to be output as several specifically named PDFs, that go into a number of folders that also have specific names....

View Article


How do i parse a csv into my inDesign script?

hi there, having real trouble with this: // target the latest version of InDesign#target "InDesign-10" // This will parse a delimited string into an array of// arrays. The default delimiter is the...

View Article

Conditional Text green Color

How to highlight green color via conditional text for particular character style.   I have copied my code for your reference. My code apply random colors, but i need to apply green color  var...

View Article

Loop through styles not working as intended.

I'm trying to loop through all the styles in a number of documents and locate any styles with the font "Times New Roman (OTF)." Unfortunately, no matter how I tweak the script, it won't trigger the...

View Article


Image may be NSFW.
Clik here to view.

Change script function

Hi everyone I use this script: app.selection[0].contents=”[undefine]”;app.selection[0].underline=true; to change whatever I selected change to [undefine], then make it underline.  but: if I add...

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

Correct my script please!

Hi everyone Could someone please help me to correct my script: var docs = app.documents; for (var i = docs.length-1; i >= 0; i--)          {            varmyTarget = app.target[0];  if(myTarget...

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


batch-find-and-replace.jsx

Hi there, I wrote a batch-processing script for find change queries and thought I share it with you. You can get it over here  You can process GREP, TEXT, GLYPH and OBJECT searches.  PurpouseWhile...

View Article

How to add a para style to a batch of docs?

Hi everyone I got this script var docs = app.documents        for (var i = docs.length-1; i >= 0; i--) {               docs[i].paragraphStyles.add({name: “01 Body text”, fontFamily: “Helvetica”,...

View Article

apply new style for existing paragraph

How to apply new style for existing paragraph I need to apply existing paragraph style "FEBL1" to bullet list (newstyle)

View Article

Indesign CS6, datamerge, import images of Google Drive

Hello all, I would like to use the Data Mare tool to load the images of an external source like Google Drive. It seems it wont import or link the url to the container. Any suggestion of solutions? The...

View Article


How to add a PANTONE color to docs?

Hi everyone I got this script var docs = app.documents;   for (var i = docs.length-1; i >= 0; i--) {       try{        docs[i].colors.item(“Body Text Color”).name;            }        catch...

View Article

Using Peerjs with Adobe InDesign

Hy, I'm creating my own InDesign PlugIn and I need to connect to another web application I created. I tried using socket.io, but I didn't want to have another server, so I have passed to Peer JS, in...

View Article


Image may be NSFW.
Clik here to view.

Small Cap with styles or font

Hi,If the document used with small cap attribute without using fort style and character style, alert need this occurrence. Wrong: Correct:

View Article

Image may be NSFW.
Clik here to view.

Errant XML Tag

Greetings all! Working in InD CS6 in Windows 7. I've got an XML element in a document that I can't do anything with and which doesn't appear to be associated with anything in the InD file. The red line...

View Article


Image may be NSFW.
Clik here to view.

CS 6 alignment problem

I am using İndesign CS 6With this command a text frame does not stop at the exact locationbut When I give a space position comes tohow this problem can be solved  var box1 =...

View Article

function question

var myParagraphStyle = null;var myTable = null;       my1();     function my1(){           myParagraphStyle = app.activeDocument.paragraphStyles.item("50 Table_txt");           return myParagraphStyle;...

View Article

Image may be NSFW.
Clik here to view.

FontStyle match with basic font

Hi,I have used the basic font "Arno Pro-Regular" with Para style is "04 Body Text". Italic mean, should applied the "Arno Pro-Italic".  if applied the "Arno Pro-Semibold Italic" is wrong (semi, light,...

View Article
Browsing all 15932 articles
Browse latest View live


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