• 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
Apple system profiler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Apple system profiler
      • From: Shane Stanley <email@hidden>
    • Re: Apple system profiler
      • From: Jonathan Neff <email@hidden>
  • Prev by Date: RE: Rebooting my computer
  • Next by Date: Apply style in AppleWorks 5
  • Previous by thread: Re: applescript and the powerbook battery
  • Next by thread: Re: Apple system profiler
  • Index(es):
    • Date
    • Thread