Re: Automating certain actions in Firefox
Re: Automating certain actions in Firefox
- Subject: Re: Automating certain actions in Firefox
- From: Philip Aker <email@hidden>
- Date: Mon, 8 Sep 2008 23:20:19 -0700
On Sep 8, 2008, at 11:04 PM, Saurabh Mittal wrote:
GUI Scripting - where can I get myself started on this one..
1.
tell application "System Events" to tell application process "weird-
Firefox-name"
get every UI element
end tell
2.
tell application "System Events" to tell application process "weird-
Firefox-name"
tell menu bar 1
get every UI element
end tell
end tell
3.
tell application "System Events" to tell application process "weird-
Firefox-name"
tell window 1
get every UI element
end tell
end tell
When you finally trace down to the "UI element" you wish to target,
then you can use verbs like "click". Check out the "System Events"
scripting dictionary by opening it in Script Editor with the "Open
Dictionary…" menu item.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden