🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15760

Re: Links missing in CS

#15760
From: Olav_Kvern
Date: Thu, 13 Nov 2003 17:51
19 lines
1404 bytes
Mike--

* Many* terms have changed--we unified the terminology so that JavaScript, VBScript, and AppleScript now all use the same terms. The only difference is capitalization and spacing (e.g., "character style" in AppleScript is "CharacterStyle" in VBScript and "characterStyle" in JavaScript) and allowance for reserved words (e.g., "delete" in AppleScript/VBScript is "remove" in JavaScript).

Constants (aka "enums") are also handled differently in VBScript than they were before. Previously, you could use a constant from a constant class without specifying the class name, as in:



myParagraph.Justification.idLeftAlign

In InDesign CS, you need to specify the constant class:

myParagraph.Justification.idJustification.idLeftAlign

Hope this helps!

Thanks,

Ole
Technical Details
Message-ID: <2cce4aa4.10@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2cce4aa4.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,f1e9d0a198c97086
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-13 10:08:08 PST
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Links missing in CS
Message-ID: <2cce4aa4.10@webx.la2eafNXanI>
Date: Thu, 13 Nov 2003 09:51:13 -0800
References: <2cce4aa4.-1@webx.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit