Article View: adobe.scripting.indesign
Article #944Re: Drop down menu help
From: robin521
Date: Thu, 26 Feb 2009 12:01
Date: Thu, 26 Feb 2009 12:01
26 lines
1024 bytes
1024 bytes
var MyFontList=new Array;
MyFontList=app.fonts.everyItem().name;
var MyDialog=app.dialogs.add({name:"sdfasdfasdf"});
with(MyDialog){
with(dialogColumns.add()){
with(borderPanels.add()){
staticTexts.add({staticLabel:"Vertical Justification:"});
}
with(dialogColumns.add()){
var myMenu=dropdowns.add({stringList:MyFontList,selectedIndex:0});
}
}
}
var myResult=MyDialog.show();
MyDialog.destroy();
Technical Details
Message-ID:
<59b7ff12.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b7ff12.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,524e3d77e3e624cf X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: robin521@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Drop down menu help Message-ID: <59b7ff12.1@webcrossing.la2eafNXanI> Date: Thu, 26 Feb 2009 04:01:51 -0800 References: <59b7ff12.-1@webcrossing.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit