🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2063

JS: Using CS2 Scripts with CS3

#2063
From: Lisa_Spike
Date: Wed, 07 Jan 2009 18:10
13 lines
1322 bytes
So, we're a little behind...we're just moving from CS2 to CS3. So please bear with me. (We're using Javascipt)

Until I'm able to convert all of our scripts to CS3 compatibility, I created a "Version 4.0" folder in the scripts panel, hoping I can use our CS2 scripts as-is.

One of my CS2 scripts places a snippet on the master pages. Before, it would place by itself with no questions asked. In CS3, the snippet is a loaded cursor wanting me to click to place it. What do I need to change? This is the section of the script

//Place Master Page items
myDocument.masterSpreads.item("A-Master").place(
   mcmMasterPage, //the document
   [0,0], //top-left coordinate of text frame
   undefined, //layer
   false, //show options
   false ) //autoflow
Technical Details
Message-ID: <59b7730d.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2!feeder.erje.net!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2eb9d0aaf0b88a97,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Lisa_Spike@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: JS: Using CS2 Scripts with CS3
Message-ID: <59b7730d.-1@webcrossing.la2eafNXanI>
Date: Wed, 7 Jan 2009 10:10:19 -0800
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2!feeder.erje.net!news4us.nl!webcrossing