Setting the focused UI element from AppleScript?
Setting the focused UI element from AppleScript?
- Subject: Setting the focused UI element from AppleScript?
- From: "Timothy J. Wood" <email@hidden>
- Date: Fri, 27 Oct 2006 15:46:30 -0700
I'm working on some AppleScript-driven automated tests and it would
be very useful to use GUI scripting to change focus in the application
(followed shortly by keyboard events to simulate user events). I
don't see a way to set the focused element, though.
The 'focused' property on UI element is specified r/w, but setting
it is generating a scripting error for me. Is this supposed to work?
Is there a different way, or should I hack something in myself (along
with a Radar? :)
Thanks!
-tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden