Re: Apple System Profiler and Mac OS X 10.2.x systems
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.