• 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: weird UI scripting problems.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird UI scripting problems.


  • Subject: Re: weird UI scripting problems.
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 11 Nov 2003 13:46:53 -0500

on 2003-11-11 9:22 AM, Rob Jorgensen at email@hidden wrote:

> This works for me (PowerBook G4 Titanium running OS X 10.2.8).
>
> tell application "TextEdit" to activate
> tell application "System Events" to keystroke "4"

Ah, of course. The keystroke command always goes to the active application.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: weird UI scripting problems. (From: Rob Jorgensen <email@hidden>)

  • Prev by Date: Re: Acrobat 6 "do script" problem...
  • Next by Date: Re: Script tell the wrong app !
  • Previous by thread: Re: weird UI scripting problems.
  • Next by thread: Re: applescript-users digest, Vol 3 #2146,#2145,#2144....
  • Index(es):
    • Date
    • Thread