MACSCRPT Archives

May 2003

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Emmanuel <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 7 May 2003 12:39:37 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
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

ATOM RSS1 RSS2