Apple system profiler
Apple system profiler
- Subject: Apple system profiler
- From: Mike Tuller <email@hidden>
- Date: Tue, 07 Nov 2000 10:11:03 -0600
I want to gather information from Apple System Profiler, and have the
information put into a tab delimited file. I found this script in a search:
tell application "Apple System Profiler"
activate
set ethernetinfo to network info
set MACaddress to AppleTalk address of ethernetinfo
quit
end tell
set fileRef to open for access file "Macintosh HD:Desktop
Folder:scripts:MacAddress" with write permission
write MACaddress to fileRef
close access fileRef
I tried to modify it so that I can pull all information, but not knowing
much about Applescript, I can seem to get it to go. If I use this to gather
system info:
tell application "Apple System Profiler"
activate
set SystemInfo to system info
quit
end tell
set fileRef to open for access file "Macintosh HD:Desktop
Folder:scripts:SystemInfo" with write permission
write SystemInfo to fileRef
close access fileRef
The result is this:
recofilsfalsfndvTEXT9.0sysvTEXT 9.0.4 USenbvTEXTMac
OS ROM
4.6.1atevTEXT1.3qtmvTEXT4.1.2carvTEXT1.0.4stnmTEXTsttpTEXT
Pager
cardstlcTEXT
Not availablestbsTEXTATA Busmcovtruestovtrueswovtrue
Which doesn't contain all of the information, and is ina format that I don't
want. Can someone help me with this?
Thanks,
Mike