• 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
Re: UI scripting question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: UI scripting question
      • From: Axel Luttgens <email@hidden>
References: 
 >Re: UI scripting question (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: UI scripting question
  • Next by Date: Re: UI scripting question
  • Previous by thread: Re: UI scripting question
  • Next by thread: Re: UI scripting question
  • Index(es):
    • Date
    • Thread