• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Accessing a web page menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: tell inside a tell
  • Next by Date: Re: birth date from Address Book
  • Previous by thread: Re: reboot into OS 9
  • Next by thread: Re: Accessing a web page menu
  • Index(es):
    • Date
    • Thread