Accessing a web page menu
Accessing a web page menu
- Subject: Accessing a web page menu
- From: David Crowe <email@hidden>
- Date: Wed, 12 Mar 2003 16:28:49 -0700
I would like to control a web menu (i.e. select a value of a pulldown
menu). I can't figure this out with the dictionary of iCab or Safari
(and Explorer is worse).
I'm trying to do this with UI scripting, but so far something like:
tell application "System Events"
tell process "iCab"
get every menu item -- or 'menu' or 'button'
end tell
end tell
isn't working. If I could get access to the menu (not in the menu
bar, an HTML menu on the screen), I'm sure I could make this work.
The UI Element Inspector gives me:
<AXMenu: ""> -- Menu with no name
<AXMenuItem: "Abstract"> -- this is the current selected value
but the keywords AXMenu and AXMenuItem just give me errors.
- David Crowe
_______________________________________________
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.