Re: Name of Active Process, part 2
Re: Name of Active Process, part 2
- Subject: Re: Name of Active Process, part 2
- From: Walter Ian Kaye <email@hidden>
- Date: Thu, 17 Jun 2004 00:23:28 -0700
At 10:37p -0400 06/16/2004, David Andrews didst inscribe upon an
electronic papyrus:
So your suggestion is probably better, except I get
"the process
"
instead of
"the process"
That was his '& return' doing that.
So I think I'll now go with the following (unless you can tell me
something about having the "return" in there):
Mystery to me...
tell application "Finder" to set frontProcess to (displayed name of
(path to frontmost application))
Actually you don't need the Finder for that at all. Just this is enough:
set frontProcess to (displayed name of (path to frontmost application))
-boo
On Jun 16, 2004, at 12:11 AM, Joseph Weaks wrote:
tell application "Finder" to set frontProcess to ((displayed name
of (path to frontmost application)) & return)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.