• 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
Re: Two questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two questions


  • Subject: Re: Two questions
  • From: Philip Aker <email@hidden>
  • Date: Mon, 08 Jul 2002 09:54:55 -0700

On Monday, July 8, 2002, at 08:50 AM, bill wrote:

At 06:55 -0700 7/7/02, Jeffrey Camiel wrote:
1. Does anybody have a simple script that lists all the applications within a volume to a text file? for 10.x and 9.x

Jeff,

A partial suggestion for OS X, if you are looking for applications like:

/Applications/Address Book.app
/Applications/AppleScript/Script Editor.app
/Applications/AppleScript/Script Runner.app
/Applications/Calculator.app

Try this method:

do shell script "find / | grep '.app$' > ~/Desktop/ListOfApplications"


Slightly faster for OS X (but it relies on a database which I think is refreshed every Saturday at 4:30 am) is:

do shell script "locate \"*.app\""


For OS 9 and X, I believe if you save a Sherlock search criteria, you can get Sherlock to run it by a script.



Philip Aker

p h i l i p @ v c n . b c . c a
h t t p : / / w w w . a k e r . c a /
_______________________________________________
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: Two questions
      • From: Paul Skinner <email@hidden>
References: 
 >Re: Two questions (From: bill <email@hidden>)

  • Prev by Date: CP 341
  • Next by Date: Printing help
  • Previous by thread: Re: Two questions
  • Next by thread: Re: Two questions
  • Index(es):
    • Date
    • Thread