Re: Window title of frontmost application
Re: Window title of frontmost application
- Subject: Re: Window title of frontmost application
- From: Adam Hinshaw <email@hidden>
- Date: Sat, 26 Apr 2003 13:05:14 +1000
also Craig's tip about 'focused' works better than 'window 1'
--
tell application "System Events"
set fm to (the name of application processes whose frontmost is true) as
text
tell application process fm
set w to the name of every window whose focused is true
return w
end tell
end tell
--
_______________________________________________
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.