At 02:40 p -0500 02/09/2007, email@hidden didst
inscribe upon an electronic papyrus:
Hello,
Clearly, addressing a pulldown menu is different from a popup
menu. This codes works well:
tell window "winTransfer"
set current menu item of popup button "popCodes" to menu item 1 of
menu of popup button "popCodes"
set contents of text field "txtCodes" to ""
end tell
Go into Inspector and change the type from "popup" to "pulldown"
and nothing works. And, no, doing the logical thing and changing
"popup" button to "pulldown" button in the above code does not help.
Unfortunately, I see nothing illuminating in the documentation on
this matter
Pulldown menus do not have a current item; the notion is irrelevant.
Does that help?
Pulldown menus are for running commands, while popup menus are for
displaying and selecting a setting. Method vs. property, blah blah
blah.