🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #21020

ID Constants in VB

#21020
From: Spamsafe e-mail
Date: Fri, 17 May 2002 09:44
32 lines
1703 bytes
Hi All

I'm trying to automate InDesign with windows scripting host, and it
works very well.

My only problem is to find the constants wich are refferred to in the
documentation.

i.e. Document.Close takes parameter SaveChanges as idSaveOptions

Where can I find info about these constants? I know that VB users do
not have this problem as VB knows what idSaveOptions is but WSH
(windows scripting host) does not.

To make sure what I mean here is an other example.
In the documentation it says that this is the way to center text in a
text box

 myParagraph.Justification = idCenter

No problem except what is the value of idCenter?

Offcause I know that to get the value I can just read the property and
get idCenter value, wich I did and added
 
 CONST idCenter = 1667591796

to my script, and it worked but.....
This can not be the right way to do it :-)

Hope someone can help.
Torben
Technical Details
Message-ID: <b199ace5.0205170144.124e725d@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,9f334d8a3186a756,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-05-17 02:44:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: doesnotread@yahoo.dk (Spamsafe e-mail)
Newsgroups: adobe.scripting.indesign
Subject: ID Constants in VB
Date: 17 May 2002 02:44:08 -0700
Organization: http://groups.google.com/
Lines: 32
Message-ID: <b199ace5.0205170144.124e725d@posting.google.com>
NNTP-Posting-Host: 195.249.137.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1021628648 16130 127.0.0.1 (17 May 2002 09:44:08 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 May 2002 09:44:08 GMT