[Pythonmac-SIG] AESend and "Event Manager" events...
Joseph J. Strout
joe@strout.net
Mon, 6 Dec 1999 13:03:50 -0800
Hi Steve,
No, you can't send keystrokes with AESend. The only way to
do what you want is to muck about with the Event Manager directly,
but even this won't work if the app you want to send keystrokes to is
not the frontmost application.
A better solution (i.e., less work for you and more reliable)
is to use something like KeyQuencer or QuickKeys or Akua Sweets (the
latter is free) to fake the keypresses and mouseclicks you need. The
first two are apps which are scriptable, Akua Sweets is an
Applescript extension library which implements commands for all sorts
of amazingly handy things.
Cheers,
-- Joe
,------------------------------------------------------------------.
| Joseph J. Strout Biocomputing -- The Salk Institute |
| joe@strout.net http://www.strout.net |
`------------------------------------------------------------------'