• 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: "Sprague, Graham" <email@hidden>
  • Date: Tue, 9 Jul 2002 10:30:33 -0400

What about using AppleSystemProfiler. Can't it list find Apps?

> ----------
> From: Paul Skinner
> Sent: Tuesday, July 9, 2002 10:00 AM
> To: AppleScript Users
> Subject: Re: Two questions
>
> On Tuesday, July 9, 2002, at 01:38 AM, Jeffrey Camiel wrote:
>
> > Yeah but can you do this with MAC 9x. I didn't know you could do a
> > shell script with 9
>
> The original question Jeffrey Camiel posted was...
>
> > 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
>
> The answer is no. That isn't a simple task due to inconsistencies in the
> implementation and capabilities of AS over various versions. In OS X it
> is simple and thus a simple answer was offered for X. Several actually.
>
> You can't do quite a few, thousands really, of really amazing things in
> OS 9 or 8 or 7 etc.
> OS 9 is dead. Ask Steve.
>
> > On Monday, July 8, 2002, at 10:17 AM, Paul Skinner wrote:
> >
> >>> do shell script "locate \"*.app\""
> >>
> >> Sounded interesting, but returned a null string here.
> >>
> >> I had to...
> >> sudo /usr/libexec/locate.updatedb
> >>
> >> Then I got a nice list, with paths!
> >> The update took about a minute.
> >>
> >> On Monday, July 8, 2002, at 12:54 PM, Philip Aker wrote:
> >>
> >>> 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
> >> SNIP
> >>>> 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
> _______________________________________________
> 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.

  • Prev by Date: Re: How to address a table row in Quark?
  • Next by Date: RE: Photoshop 7 dictionary
  • Previous by thread: Re: Two questions
  • Next by thread: RE: Two questions
  • Index(es):
    • Date
    • Thread