• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting a list of applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting a list of applications


  • Subject: Getting a list of applications
  • From: Jeffrey Mattox <email@hidden>
  • Date: Sat, 1 Feb 2003 00:04:09 -0600

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.

  • Prev by Date: Re: referencing a variable from another?
  • Next by Date: Mount volume bug: caller must be in front
  • Previous by thread: Re: referencing a variable from another?
  • Next by thread: Mount volume bug: caller must be in front
  • Index(es):
    • Date
    • Thread