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

With CS2, some things have changed

I have not located a place where changes in scripting between CS and CS2 are reported, so I thought I'd start a topic here with some of the things I know about.This is about changes to the object model...

View Article


Scripting Forum Housekeeping

I've been doing some work to try and make the scripting forum more useful. This includes some permanent links to threads (like the "what's changed" threads) as well as a link to the "Dos and Don'ts"....

View Article


Is there an updatedcrossrefs script for InDesign CS6

Running Mac Pro/2.66 GHz—Quad-Core Intel Xeon/Snow Leopard/OS/Mac OS X Version 10.6.2/2.66 GHz  I converted a CS3 InDesign that uses the script "updatedcrossrefs.js", to CS6 InDesign. This file uses...

View Article

[JS CS3/4] ScriptUI How to color a button ?

Is it a way to get a colored button in the ScriptUI DOM ? I tried dlg.button1.graphics.backgroundColor = dlg.button1.graphics.newBrush(dlg.button1.graphics.BrushType.SOLID_COLOR,[0.7,0.7,0.7],1); But...

View Article

How can I add a library asset to a specific master spread?

Hello! I am new to the forums and rather new to javascript as it relates to indesign so I apologize if this is rudimentary.I am building a script that automates new document creation for our company...

View Article


Grep style

Is possible whit style grep signaler only first apparition?  Example (error):CHA/IK 15÷61 IDROINVERTER heat pumps and water chillers are designed to meet the needs of small domestic or service sector...

View Article

Getting the offset of a placed PDF within the container rectangle

I need to get the offset of a placed PDF inside of the container rectangle. I have figured out that this information should be available in the transformationMatrix of the placed file. So I do...

View Article

Add cross reference in 4th level topic in Index

Is there any problem in adding cross reference to the 4th level topic in Index creation in InDesign CS3 using JS. But it is added when doing manually.            var m_Index = doc.indexes.add();...

View Article


Image may be NSFW.
Clik here to view.

Setting the property Pattern Length for Dashed/DottedStrokeStyle [JS CS4]

I have attempted to create a custom stroke style. There is a property in the interface called Pattern Length which doesn't seem to have a counterpart in the InDesign CS4 (6.0) Object Model...

View Article


Javascript for InCopy: Add All Graphics to Assignment: New

Hi,  I try to perform a  InCopy: Add All Graphics to Assignment: New from my javascript. Is anyone know the solution ? Thanks !

View Article

Move unassigned story to an assignment (for InCopy)

I want to add a stroy to a new assignment with javascript.I found out how to create an assignment, and how to make a icml and icma documentHowever it comes in unassigned incopy items, and I can't find...

View Article

ScriptUI for dummies

I've been putting together a text on ScriptUI, to a large extent to clear up things for myself (hence the title!). It's an introduction to ScriptUI, much of it very basic, here and there going into...

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


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

[AS][CS5] Find and replace a missing font

I have an overly complex script that compares the document's fonts missing fonts to the system fonts and makes a best guess. It was written to handle conversion of Multi-ad Creator documents to...

View Article


Dynamically populate InDesign file and publish

Greetings, I have a database full of text and I would like to publish the data into a nicely designed InDesign file. I can easily dump the data into XML, JSON, or raw Text but is it possible to...

View Article

ANN: automatic dialog after background export (exportPop.jsx)

A week or two ago, I wrote a script to pop up a dialog box after any background export, in response to the InDesign CS5 PDF export status thread. It doesn't seem like there's been feedback. I suspect...

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.

With CS5, some things have changed

This discussion is for changes to the scripting DOM which can affect legacy scripts. Please use this discussion for discussing new scripting features in CS5. Please keep in mind that all changes are...

View Article

A better way to write this.

My hope was to run through the list of inks and check each ink to see if it matched with a name in my array and then assign a value. I was attempts were unsuccessful. So I went with a bunch of if...

View Article
Browsing all 15932 articles
Browse latest View live


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