RE: Apple System Profiler
RE: Apple System Profiler
- Subject: RE: Apple System Profiler
- From: Ron Bishop <email@hidden>
- Date: Wed, 1 Aug 2001 16:37:15 -0500
Here's one I use to get the applications of Macs here at work~modifiy it as
needed,
tell application "Apple System Profiler"
make new report at startup disk with properties {report
contents:{applications}, report view format:text}
set theReportText to report text of report 1
close report 1 saving no
end tell
set myFileRef to (open for access file "applicationsReport.txt" with write
permission)
write theReportText to myFileRef
close access myFileRef
This makes a Tab Delimited text file that can easily be opened in Excel or
FileMaker. The text file will be in the same folder as your editor
Ron Bishop
Senior Technician
Atwood Publishing, LLC
11600 College Boulevard
Overland Park, Kansas 66210
(913) 469 - 1110
>
----------
>
From: email@hidden
>
Sent: Wednesday, August 1, 2001 1:42 PM
>
To: email@hidden
>
Subject: Apple System Profiler
>
>
Hi,
>
>
I need to do an inventory of about 50 iMacs (serial number, mac address,
>
HD, and RAM). I know that this information is available from the ASP, and
>
I've figured out of to script a general report, but what I really want to
>
do is to run a script that grabs the info I need, and have it dump into a
>
text file so I can import it to my database. Can anyone out there help? I
>
really don't want to have to hand type all of this info if I don't have
>
to.
>
>
>
thanks,
>
>
-tep
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users