Getting the names of all applications
Getting the names of all applications
- Subject: Getting the names of all applications
- From: Jeffrey Mattox <email@hidden>
- Date: Mon, 27 Jan 2003 03:46:36 -0600
1. Given the path to an arbitrary application, say
"/Applications/iCal.app", can I figure out the name the application
will use when it is executing? In that example, it will be "iCal",
but some applications don't use the same name as their file name
(e.g., "Fetch 4.0.2" runs as "Fetch").
2. In general, is there way to get the names of every application on
a disk? The following does not return a complete list (it only
appears to search "/Applications/" and "/System Folder/").
tell application "Finder"
set theApps to (name of every application file
of every folder of startup disk)
end tell
And, I'd still like that to return the name the apps will use when running.
Jeff
_______________________________________________
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.