• 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: Keystroke in AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keystroke in AppleScript


  • Subject: Re: Keystroke in AppleScript
  • From: KOENIG Yvan <email@hidden>
  • Date: Sat, 31 Mar 2007 16:38:45 +0200


Le 31 mars 07 à 16:23:00, kai a écrit :


On 31 Mar 2007, at 10:00, KOENIG Yvan wrote:

keystroke Escape using {command down}

I'd try something like:

----------------
tell application "System Events"
	key code 53 using command down
end tell
----------------


Thanks kai

Is the behaviour different with

key code 53 using command down

and

keystroke (ASCII character 27) using {command down}

I don't own (or I don't know that I own it) an application using this command so I can't test.

Yvan KOENIG


_______________________________________________ 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: Keystroke in AppleScript
      • From: kai <email@hidden>
References: 
 >Keystroke in AppleScript (From: Pierre-Antoine Mangeret <email@hidden>)
 >Re: Keystroke in AppleScript (From: KOENIG Yvan <email@hidden>)
 >Re: Keystroke in AppleScript (From: kai <email@hidden>)

  • Prev by Date: Re: Keystroke in AppleScript
  • Next by Date: Re: Keystroke in AppleScript
  • Previous by thread: Re: Keystroke in AppleScript
  • Next by thread: Re: Keystroke in AppleScript
  • Index(es):
    • Date
    • Thread