Article View: adobe.scripting.indesign
Article #2441Re: CS3 - UI checkbox controls...
From: loic_aigon
Date: Fri, 19 Dec 2008 08:52
Date: Fri, 19 Dec 2008 08:52
32 lines
1378 bytes
1378 bytes
var myDlg = app.dialogs.add();
with(myDlg)
{
with(dialogColumns.add())
{
with(borderPanels.add())
{
with(dialogRows.add())
{
staticTexts.add({staticLabel:"x"});
}
with(dialogRows.add())
{
var myCb1 = checkboxControls.add({staticLabel:"1", checkedState:false});
}
with(dialogRows.add())
{
var myCb2 = checkboxControls.add({staticLabel:"2", checkedState:false});
}
with(dialogRows.add())
{
var myCb3 = checkboxControls.add({staticLabel:"3", checkedState:false});
}
}
}
}
if(myDlg.show())
{
alert("myCb1 : " + myCb1.checkedState + "\r" +
"myCb2 : " +myCb2.checkedState + "\r" +
"myCb3 : " +myCb3.checkedState);
}
Technical Details
Message-ID:
<59b74e35.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossingReferences:
<59b74e35.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,a6f82cf3535b151a X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: loic_aigon <loic_aigon@yahoo.fr> Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: CS3 - UI checkbox controls... Message-ID: <59b74e35.0@webcrossing.la2eafNXanI> Date: Fri, 19 Dec 2008 00:52:44 -0800 References: <59b74e35.-1@webcrossing.la2eafNXanI> Lines: 35 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit