GUI scripting: having trouble with pop up menus
GUI scripting: having trouble with pop up menus
- Subject: GUI scripting: having trouble with pop up menus
- From: Michael Cytrynowicz <email@hidden>
- Date: Sat, 04 Jan 2003 00:01:49 -0800
Hi all,
I am sure the new PreFab UI Browser will be quite handy here, but meanwhile,
I am having a hard time trying to script clicking a pop up menu and
selecting an item in Tinderbox.
I've had no trouble doing it in the mac's preferences, selecting "Grafite"
or "Blue" for the "Appearance" pop up, and using Apple's own sample scripts.
When I try to get the values of this popup, the return is, expectedly,
"Graphite" and "Blue".
But when I repeat the same procedure with the Tinderbox pop up (if you want
to know, its the "Attributes" pop up in the "Quick Stamp" window) - then I
get the return as en empty list --- {}
If I get the properties of the UI elements in that window, it says there is
a popup with initial value {}, and something like "range: 1.0 to 44.0"
I figured out that the 44.0 obviously has to do with the fact that there are
44 items in that pop up.
But I couldn't find a way of selecting an item via script, neither referring
to the items by name, nor by number (e.g, select 34.0)
What am I doing wrong? - or is it possible that that UI is non-standard?
Thanks in adv. for any help,
Mike
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.