Re: Get a list of applications
Re: Get a list of applications
- Subject: Re: Get a list of applications
- From: Andrew Oliver <email@hidden>
- Date: Sun, 06 Jul 2003 15:01:15 -0700
Sure:
tell application "Finder"
get name of every application file of folder "Macintosh
HD:Applications"
end tell
Andrew
:)
On 7/6/03 2:15 PM, "Tom Jones" <email@hidden> wrote:
>
Hi Andrew,
>
Is there a way to strip out just the name of the Application, this way
>
it does not display the full path?
>
>
Thanks,
>
tom
>
>
On Sunday, July 6, 2003, at 11:51 AM, Andrew Oliver wrote:
>
>
> How about:
>
>
>
> tell application "Finder"
>
> get every application file of folder "Macintosh HD:Applications"
>
> end tell
>
>
>
> It doesn't do recursive, so apps in subdirectories aren't listed, but
>
> that's
>
> a simple addition to the script.
>
>
>
> Andrew
>
> :)
>
>
>
> On 7/6/03 9:31 AM, "Tom Jones" <email@hidden> wrote:
>
>
>
>> Hello,
>
>> 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.
>
>>
>
>> Cheers,
>
>> tom
>
> _______________________________________________
>
> 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.
_______________________________________________
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.