Re: UI scripting question
Re: UI scripting question
- Subject: Re: UI scripting question
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 19 Jul 2008 05:20:04 -0400
- Thread-topic: UI scripting question
on 2008-07-19 4:23 AM, Axel Luttgens at email@hidden wrote:
> keystroke "P" using command down
That should be a lowercase "p". The 'keystroke' command interprets an
upper-case character as having the shift key down as well as the command
key.
> set {X, Y} to position of sheet 1 of front window
> set {X, Y} to {X + 202 + 19, Y + 165 + 19}
> click at {X, Y}
Apple implemented the 'click at' command in such a way that it first gets
the UI element at that location and then sends 'click' to it. So it
generally fails whenever the UI element is unable to handle the 'click'
command anyway.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
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