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

Indesign CC'14 Script for randomising Baseline shift and character rotation

Hi Guys and Gals,Please could someone write a short script and/or point me in the direction of where I can find one for the following: I need a script that will randomly adjust the baseline shift and...

View Article


Write an XML file from a .jsx

Hi,a basic problem...I made an XML var within the script and need to save it as content of an XML file:try{     var user = "Bobby";     var XMLdata = new XML("");     var XMLfile = new XML("" + user +...

View Article


How do I tell which pages are selected in the Pages panel?

I have a JavaScript that exports each page in the document as a separate PDF file. I would like to do the same thing, but with a script that just exports pages that are selected in the Pages panel. Is...

View Article

IDCS6(MAC OSX): script to import styles, master pages, swatches... pitfalls?

Hello all. I've recently had a project where I've had to reformat old quark files into new indesign templates, and had a boring process of taking the quark files (that were converted to indd using the...

View Article

Scripting InDesign Creative Cloud 2014 with COM

I have been using Python to script InDesign CS6. The following code establishes the COM connection: win32com.client.Dispatch('InDesign.Application.CS6') What should I use as the argument to do the same...

View Article


Remove Duplicate Headers

Hi... I have a list of items sorted by their headers. I want to remove the duplicate headers entries but keep the descriptions (both have separates Styles). Can you give me some idea where to start to...

View Article

Need help to change script findchangebylist.jsx

i did alternate the same vbs script to suit my needs and i was happy about it (likeChild when you give him his favourite toy) but i run in som problems with it....when i copy and place the vbs script...

View Article

Image may be NSFW.
Clik here to view.

IDCS6(MAC) 10.9.4 - a script that will make an anchored object and paste in...

I'm trying to create a script that will create an anchored object that will paste in clipboard contents. So far I have: var frameRef = app.selection[0];    var parentObj =...

View Article


Relative path and XML methods

Hi, I am learning to integrate xml with JSX, I've read the document "JavaScript Tools Guide CS6" within the Help Extend the Tool Kit menu, and I am using an example from another thread here the...

View Article


get swatches in dropdown list with color preview...

Hi experts, I am creating one gui for swatches related automation task in CS4 using javascript. Is it possible to get swatches in dropdown list with its color preview? Same like colors in Swatches...

View Article

Image may be NSFW.
Clik here to view.

With a Scritp in the selected table vertical justification center Is there a...

myTable.cells.everyItem.VerticalJustification = VerticalJustification.CENTER_ALIGN

View Article

adding name of indesign document to metadata of all images used in document

I have been asked to include the indesign file name in the metatag of each image used in every document i produce from here on. is there a way to write a script in indesign that will copy the document...

View Article

How to transform many selected objects all together, as a group, without...

Hello everybody! I have a selection containing all the page items contained in a certain layer: app.select(NothingEnum.nothing, undefined);for (var i = 0; i < doc.pageItems.length; i++) {     if...

View Article


how to table in text center

myTable.cells.everyItem().paragraphs.Justification = Justification.CENTER_ALIGN;ormyTable.cells.everyItem().texts[0].Justification = Justification.CENTER_ALIGN; I can not run

View Article

Image may be NSFW.
Clik here to view.

Adding keyboard shortcuts to menu items created by script. Is that possible?

Dear all, I wanted to create a custom menu by script and assign (on the numeric keyboard) shortcuts to the menu items so that I could run one script with small variations instead of modifying a few...

View Article


Export a selection to jpg (JS)

Is it possible to export a selection to jpeg with Javascript? There are only exportRange and exportAll enumerations available in the jpeg export preferences. I know that the "long cut" is to resize...

View Article

[JS CS6] paste onto active document from external .indd

Hey everyone, i'm at a complete loss with this, tried loads of examples from this forum etc and cant get anywhere so i've given up! All i'm trying to acheive is to prompt the user for a code, then that...

View Article


How to move layers to separate pages

I have an Indesign CS5.5 document with one page and multiple artworks on separate layers. I need to move each layer to a separate page and then to separate documents.Is there any quick way of doing...

View Article

Please provide the Story Splitter script by Adi Ravid?

Hi, I'm working on a complex book and need to split threaded stories at lots of places. I know I can do it manually through the Story Editor but have really set my eyes on the Story Splitter script...

View Article

Run .bat file with arguments?

Hi,    I need to run the .bat file with parameters/arguments in Adode Indesign JavaScript. "File.execute()" executes the file using the appropriate application.It executes the .bat file...

View Article
Browsing all 15932 articles
Browse latest View live


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