Re: Apple System Profiler
Re: Apple System Profiler
- Subject: Re: Apple System Profiler
- From: Mike Tuller <email@hidden>
- Date: Mon, 11 Dec 2000 20:58:12 -0600
And to add to it, the script I modified (originally created by Jonathan
Neff) needs ASP version 2.4.5 to work which came with the new Indigo iMac,
so you will have to have a new machine to run it. It can be easily changed
to work on lower versions though.
>
From: Richard 23 <email@hidden>
>
Date: Mon, 11 Dec 2000 17:41:23 -0800
>
To: <email@hidden>
>
Subject: Re: Apple System Profiler
>
>
>> From: Bruce Robertson <email@hidden>
>
>> Date: Mon, 11 Dec 2000 08:47:05 -0800
>
>> To: Mike Tuller <email@hidden>
>
>> Subject: Re: Apple System Profiler
>
>>
>
>>
>
>> Your script doesn't compile; all the "info" statements are rejected. What's
>
>> the correct syntax?
>
>>
>
>>> tell application "HardDisk:Desktop Folder:Apple System Profiler"
>
>>> make new report at beginning
>
>>> repeat until gathering is false
>
>>> end repeat
>
>>> set macOSInfo to MacOS info
>
>>> set memoryInfo to memory info
>
>>> etc.
>
>
The success of script like my ASPquery or one like Mike Tuller's is very
>
much dependant upon the version of ASP you're running.
>
>
MacOS 8.6 users receive version 2.2.0
>
MacOS 9.0.x users have version 2.4.4
>
version avaiable for download 2.1.2
>
>
The dictionary containing the terms you can use to get information
>
from Apple System Profiler changed quite a bit between Mac OS 8.6
>
and 9.0.4. Here's a numerical breakdown of what's different
>
between the two sets of terminologies.
>
>
2.2.0 2.4.4
>
>
Application Properties 18 101
>
Report Properties 6 89
>
>
>
My script won't be much fun without terminology available in
>
version 2.4.4. The Mac OS 8.6 version doesn't appear to provide
>
much terminology for accessing values gathered by the ASP. You'll
>
need to refer to ASPs dictionary for specifics as to which properties
>
are avaiable in your version.
>
>
Making matters worse, while I assumed, like SimpleText, ASP updates
>
were freely provided... guess again. A preliminary search turned up
>
ASP 2.1.2 as the version freely available.
>
>
Unless you have ASP 2.4.4 accessing individual properties isn't
>
very likely. I'd email Apple and ask that they make the more
>
scriptable version available to all.
>
>
So once again, if you have Mac OS 9, you may find my ASPquery script
>
helpful. I will put the information about differences between the
>
ASP versions on my site in the next couple of days.
>
>
http://homepage.mac.com/richard23/applescript01.html#ASPquery
>
>
R23
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users