Re: frontmost application
Re: frontmost application
- Subject: Re: frontmost application
- From: Luther Fuller <email@hidden>
- Date: Wed, 30 Nov 2005 13:55:36 -0600
I did a Google search for applescript & frontmost and found the suggestion:
tell application "Finder" to name of file (path to frontmost
application as text)
It worked! I experimented further and found that 'frontmost application' is an
apparently undocumented argument of the 'path to' command in
Scripting Additions.
You don't need to tell the Finder anything. Just write ...
short name of (info for (path to frontmost application))
Why don't they document this stuff!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden