• 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: Apple System Profiler and Mac OS X 10.2.x systems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple System Profiler and Mac OS X 10.2.x systems


  • Subject: Re: Apple System Profiler and Mac OS X 10.2.x systems
  • From: John Stewart <email@hidden>
  • Date: Fri, 23 Apr 2004 04:47:09 -0400

On 04/22/04 at -0700 Charles Heizer said this

>I was wondering if anyone knew if it was possible to get a report of
>the Applications using Apple System Profiler and AppleScript? If so,
>how?

This will place a file on the desktop in OS X 10.3, should work for 10.2 also. It includes an
application listing.

Watch out for line wrap, the script is only 3 lines long.

tell application "Finder" to set compName to (name of (container of startup disk))
set dp to quoted form of (POSIX path of ((path to "desk" as Unicode text) & compName & ".txt"))
do shell script "System_Profiler > " & dp

JBS
--
Why is a person, who plays the piano, called a pianist but a person who drives a race car not called
a racist? - George Carlin
_______________________________________________
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.


References: 
 >Apple System Profiler and Mac OS X 10.2.x systems (From: Charles Heizer <email@hidden>)

  • Prev by Date: Re: How do I create a rtf file?
  • Next by Date: Re: RegEx question
  • Previous by thread: Apple System Profiler and Mac OS X 10.2.x systems
  • Next by thread: Re: Apple System Profiler and Mac OS X 10.2.x systems
  • Index(es):
    • Date
    • Thread