[Pythonmac-SIG] AESend and "Event Manager" events...
Steve Spicklemire
steve@spvi.com
Mon, 6 Dec 1999 16:21:06 -0500 (EST)
Thanks Joe!
I'm not sure that's the answer I was *hoping* for.. but it's an answer I can
probably live with.
-steve
>>>>> "Joe" == Joseph J Strout <joe@strout.net> writes:
Joe> Hi Steve,
Joe> No, you can't send keystrokes with AESend. The only
Joe> way to do what you want is to muck about with the Event
Joe> Manager directly, but even this won't work if the app you
Joe> want to send keystrokes to is not the frontmost application.
Joe> A better solution (i.e., less work for you and more
Joe> reliable) is to use something like KeyQuencer or QuickKeys or
Joe> Akua Sweets (the latter is free) to fake the keypresses and
Joe> mouseclicks you need. The first two are apps which are
Joe> scriptable, Akua Sweets is an Applescript extension library
Joe> which implements commands for all sorts of amazingly handy
Joe> things.
Joe> Cheers, -- Joe