[JS][CS3] Selection Menu with images
I have no idea it this is possible, but I have written this code at the start of a script to select a function within the script:
myDialog = app.dialogs.add({name:"Catalogue Selector"});
with(myDialog)
{
with(dialogColumns.add())
{
with(dialogRows.add())
{
staticTexts.add({staticLabel:"Select the required catalogue:"});
myOptionButtons = radiobuttonGroups.add();
with(myOptionButtons)
{
radiobuttonControls.add({staticLabel:"VW"});
radiobuttonControls.add({staticLabel:"Peugeot"});
radiobuttonControls.add({staticLabel:"MG Rover"});
radiobuttonControls.add({staticLabel:"BMW Special"});
radiobuttonControls.add({staticLabel:"Nissan HTML"});
radiobuttonControls.add({staticLabel:"Nissan XLS"});
radiobuttonControls.add({staticLabel:"BMW (GB)"});
radiobuttonControls.add({staticLabel:"SEAT"});
radiobuttonControls.add({staticLabel:"Citroen"});
radiobuttonControls.add({staticLabel:"Vauxhall"});
radiobuttonControls.add({staticLabel:"SAAB 1st Column"});
radiobuttonControls.add({staticLabel:"SAAB 2nd Column"});
radiobuttonControls.add({staticLabel:"Audi"});
radiobuttonControls.add({staticLabel:"Fiat"});
radiobuttonControls.add({staticLabel:"Ford"});
radiobuttonControls.add({staticLabel:"Ford LCV"});
radiobuttonControls.add({staticLabel:"Honda"});
radiobuttonControls.add({staticLabel:"Vauxhall FUNNY SIZE"});
radiobuttonControls.add({staticLabel:"Hyundai"});
}
}
}
}
myResult = myDialog.show();
and what I want to be able to do is add an image to each option.
Is this possible?
I am looking to work with CS3 only at the moment.
Cheers
Roy
