• 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: Applescript in the terminal (fwd)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript in the terminal (fwd)


  • Subject: Re: Applescript in the terminal (fwd)
  • From: Steve Thompson <email@hidden>
  • Date: Fri, 19 Apr 2013 20:39:45 +0100


On 19 Apr 2013, at 15:55, - <email@hidden> wrote:


How does one do a key combination with the above form such as:

option+command+key

tell application "System Events" to keystroke "a" using command down

tell application "System Events" to keystroke "s" using {command down, option down}



Also how does one do such keys as the arrow and other related keys and f1 - f12 keys etc.?  


tell application "System Events" to key code 122 using command down - F1


Which brings me to the question of a source on the web where applescript keystroke representations might be listed, and applescript commands in general?

Google is your friend:

http://www.codemacs.com/coding/applescript/applescript-key-codes-reference.8288271.htm

Steve
 _______________________________________________
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

References: 
 >Re: Applescript in the terminal (fwd) (From: - <email@hidden>)

  • Prev by Date: Re: Applescript in the terminal (fwd)
  • Next by Date: Re: Applescript in the terminal (fwd)
  • Previous by thread: Re: Applescript in the terminal (fwd)
  • Next by thread: Re: Applescript in the terminal (fwd)
  • Index(es):
    • Date
    • Thread