Re: Window title of frontmost application
Re: Window title of frontmost application
- Subject: Re: Window title of frontmost application
- From: 3 <email@hidden>
- Date: Fri, 25 Apr 2003 21:21:48 -0500
On Friday, Apr 25, 2003, at 19:31 US/Central, Adam Hinshaw wrote:
tell application "System Events"
set fm to (the name of application processes whose frontmost is
true) as
text
tell application process fm to return the name of window 1
end tell
When running this under SE or osascript in the Terminal, I get:
execution error: System Events got an error:
NSCannotCreateScriptCommandError (10)
_______________________________________________
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.