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

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


  • Prev by Date: RE: Can't seem to script printing PostScript file
  • Next by Date: Re: Quark
  • Previous by thread: Re: Apple System Profiler
  • Next by thread: Startup Disk scripting (redux)
  • Index(es):
    • Date
    • Thread