Applet by Function Key needs previous frontmost
Applet by Function Key needs previous frontmost
- Subject: Applet by Function Key needs previous frontmost
- From: Dave Saunders <email@hidden>
- Date: Wed, 23 Jan 2002 10:27:33 -0500
It occurred to me that I could associate an AppleScript applet with a
function key using the Mac OS 9 Keyboard control panel.
But, those function keys are universal. So, the Applet (and it's got to be
an applet or I'll just end up firing up Script Debugger) needs to know which
is the frontmost application.
Except that it will be the frontmost. What the applet needs to know is which
was the previous frontmost application.
And I see by looking at my archive of last year's messages that this is one
of those intractable problems.
Well, I suppose, if I only want to drive InDesign with those keys, all I
have to do is check to see if InDesign is active, and if so, assume it's OK
to proceed, but if it's not just beep.
Has anyone found a solution to this problem?
Dave