Automating System Profiler
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.