• 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: Keystroking Keyboard Shurtcuts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keystroking Keyboard Shurtcuts


  • Subject: Re: Keystroking Keyboard Shurtcuts
  • From: KOENIG Yvan <email@hidden>
  • Date: Sat, 16 Aug 2008 12:01:34 +0200


Le 16 août 2008 à 06:52, Vance a écrit :

I've looked around and was told that it could be done like this

tell application "Safari"
	activate
end tell

tell application "System Events"
	keystroke "t" with command down
end tell



"with" was used in the beta version of GUIscripting. The final one uses "using"


tell application "Safari"
	activate
end tell

tell application "System Events" to tell process "Safari"
	keystroke "t" using {command down}
end tell

Yvan KOENIG (from FRANCE samedi 16 août 2008 12:00:36)


_______________________________________________ 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: 
 >Keystroking Keyboard Shurtcuts (From: Vance <email@hidden>)

  • Prev by Date: Re: Keystroking Keyboard Shurtcuts
  • Next by Date: Re: Scripting FileMaker
  • Previous by thread: Re: Keystroking Keyboard Shurtcuts
  • Next by thread: A bit rusty. Need simple Word script to copy contents or save as text
  • Index(es):
    • Date
    • Thread