Re: Missing value
Re: Missing value
- Subject: Re: Missing value
- From: Christopher Stone <email@hidden>
- Date: Sun, 28 Aug 2011 19:45:14 -0500
On Aug 28, 2011, at 19:05, Robert Poland wrote: This seems to do the job, without using info for...
tell application "System Events" set applicationName to (path to frontmost application as text) end tell set applicationName to name of application applicationName
______________________________________________________________________
Hey Bob,
Well, if you're going to go that route you can consolidate:
tell application "System Events" set frontAppName to item 1 of (get name of processes whose frontmost is true) end tell
-- Best Regards, Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden