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

Re: System Profiler


  • Subject: Re: System Profiler
  • From: Andrew Oliver <email@hidden>
  • Date: Mon, 07 Jun 2004 01:12:32 -0700

It doesn't quite work that way (simply?)

You have to first get the profile, then write it to a text file using normal
AppleScript commands. Try:

tell application "System Profiler"
set theprofile to (get system profile)
set outputFile to open for access file "Macintosh HD:profile.txt" with
write permission
write theprofile to outputFile starting at 0
close access outputFile
end tell

On 6/7/04 1:25 AM, "Chaim Koshizky" <email@hidden> wrote:

> Hi ;
>
> I am trying to run "System Profiler" through an applescript application and
> create-save a file of the profile.
> I do not succeed to save the file. Can any one help ?
>
> tell application "System Profiler"
> activate
> set theproperty to properties
> save theproperty ????????
> end tell
>
> Thanks
> _______________________________________________
> 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.
_______________________________________________
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: System Profiler
  • Next by Date: Question-GUI scripting
  • Previous by thread: System Profiler
  • Next by thread: Re: System Profiler
  • Index(es):
    • Date
    • Thread