Re: Getting a list of applications
Re: Getting a list of applications
- Subject: Re: Getting a list of applications
- From: Andrew Oliver <email@hidden>
- Date: Fri, 31 Jan 2003 23:06:56 -0800
The choose file osax supports file type filtering:
set theApp to choose file of type {"APPL"}
On 1/31/03 10:04 PM, "Jeffrey Mattox" <email@hidden> wrote:
>
I want to display a list of applications for my user to choose from.
>
An open-panel shows all files, even non-applications.
>
>
Is there a way to generate a list containing just the applications of
>
the startup volume? I've tried variations of this with no luck:
>
>
tell application "Finder"
>
set theApps to (every item whose file type is "APPL")
>
of every folder of startup disk
>
end tell
>
>
Searching the entire volume is likely to be slow, so this may be
>
impractical, even if it worked.
>
>
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.
_______________________________________________
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.