• 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 the names of all applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Getting the names of all applications
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: PS7, Resizing according to image orientation
  • Next by Date: Re: Automatically sort a list ?
  • Previous by thread: Re: Concatenating records
  • Next by thread: Re: Getting the names of all applications
  • Index(es):
    • Date
    • Thread