Re: Active Application
Re: Active Application
- Subject: Re: Active Application
- From: Philippe GRUCHET <email@hidden>
- Date: Fri, 14 Mar 2003 05:16:46 +0100
From: Adam Goldstein <email@hidden>
I'm trying to get the name of the application whose name appears in
the menu bar.
Here are the things I've tried, with results:
current application
Result: "current application"
name of current application
frontmost application
Result: "frontmost application"
tell app "System Events" to name of app process 1
tell current application
name of me
end tell
Result: "Execution error, can't get name"
tell current app to name -- of me
HTH,
Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
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.