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

Automating System Profiler


  • Subject: Automating System Profiler
  • From: <email@hidden>
  • Date: Thu, 22 Apr 2004 17:10:01 +0200

Hello Scripters,

I'm trying to script the System Profiler to saves profiles of machines
to a database. My System Profiler (4.0.3v40 on OSX Pnther 10.3.3)
doesn't create any files when i use the following script.


Code:

tell application "System Profiler"
activate
set cReport to make new document at beginning
save cReport as Unicode text in file
"shiva:Users:jochen:Desktop:MyProfile1"
close cReport saving yes saving in file
"shiva:Users:jochen:Desktop:MyProfile2"

end tell


Am i missing something? Is there something else that works?

thanks for suggestions.

jacques
_______________________________________________
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.


  • Prev by Date: [ANN] April Boston AppleScript Users Group Meeting
  • Next by Date: moving messages in Mail.app
  • Previous by thread: [ANN] April Boston AppleScript Users Group Meeting
  • Next by thread: Re: Automating System Profiler
  • Index(es):
    • Date
    • Thread