Article View: adobe.scripting.indesign
Article #2296[CS3, JS] Stuck on DropDownList again
From: Eric
Date: Mon, 22 Dec 2008 23:07
Date: Mon, 22 Dec 2008 23:07
32 lines
1553 bytes
1553 bytes
Hi all. Trying to build a simple dialog in JS via resource and having a heck of a time!
Anyone able to tell me why my drop down list is always blank in the following resource?
res =
"dialog { \
orientation: 'column', \
alignChildren: 'right', \
range: Group { \
orientation: 'row', \
s: StaticText { text:'Range:' }, \
e: EditText { preferredSize: [200, 20] } \
}, \
master: Group { \
orientation: 'row', \
s: StaticText { text: 'Apply Master:' }, \
l: DropDownList { \
stringList:['A-Master', 'B-Master'], \
preferredSize: [200, 20] }, \
}, \
buttons: Group { \
orientation: 'row', \
alignment: 'right', \
okBtn: Button { \
text:'OK', properties:{ name:'ok' } \
}, \
cancelBtn: Button { \
text:'Cancel', properties:{ name:'cancel' } \
} \
} \
}";
Sorry if this a really bone-headed question. I always have a heck of a time with the Dialog class it seems. :-/
Technical Details
Message-ID:
<59b75633.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,1e62effa5417a1dc,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Eric_@_MCA@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: [CS3, JS] Stuck on DropDownList again Message-ID: <59b75633.-1@webcrossing.la2eafNXanI> Date: Mon, 22 Dec 2008 15:07:46 -0800 Lines: 35 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit