Re: Two questions
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.