At 6:48 PM +0900 07/05/03, Nobumi Iyanaga wrote:
>Hello,
>
>Is there any way to write a script:
>
>tell the frontmost application
> ...
>end tell
It's currently Finder's job (or System Events', I don't know, I didn't try) to tell who is frontmost.
I hope this single line help:
-------------------------
tell application "Finder" to get name of every process whose frontmost is true
-------------------------
Emmanuel