Re: Get a list of applications
Re: Get a list of applications
- Subject: Re: Get a list of applications
- From: Kai <email@hidden>
- Date: Sun, 06 Jul 2003 23:34:04 +0100
on Sun, 6 Jul 2003 09:31:38 -0700, Tom Jones <email@hidden> wrote:
>
I would like to get a list of all of the Applications in the /Applications
>
folder, but it appears that the Apple System Profiler is not scriptable in Mac
>
OS X. Does anyone have any suggestions or examples on how I would go about
>
getting this information.
This works in OS 9 (all one line):
===================================================================
tell application "Finder" to set appList to name of (a reference to entire
contents of (path to "apps"))'s application files
===================================================================
(The Finder in OS X can still be a bit cranky - so it may not work there.)
--
Kai
_______________________________________________
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.