🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2163

Re: JS CS4 MISSING ENUM

#2163
From: Steven_F._Bryant
Date: Fri, 09 Jan 2009 16:07
12 lines
1172 bytes
idNumberingStyle.idArabicAbjad= 1296130410
idNumberingStyle.idArabicAlifBaTah=1296130420
idNumberingStyle.idHebrewBibical=1296589410
idNumberingStyle.idHebrewNonStandard=1296589422

this is the call
app.activeDocument.chapterNumberPreferences.chapterNumberFormat=1296130410;
In vbs passing the number value works but in js passing the number value return "expecting NumberingStyle but received 1296130410"

when set with vbs then callin in js for example
writeln(app.activeDocument.chapterNumberPreferences.chapterNumberFormat);
returns a string value but not a NumberingStyle enumerator
Technical Details
Message-ID: <59b77835.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b77835.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,f09fb0c2803003d9
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Steven_F._Bryant@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: JS CS4 MISSING ENUM
Message-ID: <59b77835.2@webcrossing.la2eafNXanI>
Date: Fri, 9 Jan 2009 08:07:03 -0800
References: <59b77835.-1@webcrossing.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit