Re: Apple System Profiler
Re: Apple System Profiler
- Subject: Re: Apple System Profiler
- From: Mike Tuller <email@hidden>
- Date: Tue, 12 Dec 2000 11:13:47 -0600
Check the version of ASP that you are using. As it is written now, it will
only work with version 2.4.5. Most likely you have a lower version than
that. You will need to modify the script to fit what version you have. It
should only be a couple of things.
If you want to, let me know what version you have, and I might be able to
tell you what you need to do.
>
From: David Emmons <email@hidden>
>
Date: Tue, 12 Dec 2000 01:57:59 -0500
>
To: Mike Tuller <email@hidden>
>
Subject: Re: Apple System Profiler
>
>
I tried the script, but it went OOPS, which looks like during the creation
>
of the file...not sure where to go from there..This goes way beyond my AS
>
knowledge...if it were Excel VBA then.....<G>
>
>
-Dave
>
>
> From: Mike Tuller <email@hidden>
>
> Date: Mon, 11 Dec 2000 22:16:33 -0600
>
> To: David Emmons <email@hidden>
>
> Subject: Re: Apple System Profiler
>
>
>
> 2.5 will come with 9.1 I know, so you must have an inside track.
>
>
>
>> From: David Emmons <email@hidden>
>
>> Date: Mon, 11 Dec 2000 23:01:54 -0500
>
>> To: Mike Tuller <email@hidden>, Applescript
>
>> <email@hidden>
>
>> Subject: Re: Apple System Profiler
>
>>
>
>> Funny, my ASP is version 2.5 which I seem to remember getting off the
>
>> developer site a while back. I'll have to give your script a whirl to see if
>
>> it works. (iMac DV SE/400, 9.04)
>
>>
>
>> -Dave
>
>>
>
>>> From: Mike Tuller <email@hidden>
>
>>> Date: Mon, 11 Dec 2000 20:58:12 -0600
>
>>> To: Applescript <email@hidden>
>
>>> Subject: Re: Apple System Profiler
>
>>>
>
>>> 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
>
>>> _______________________________________________
>
>>> applescript-users mailing list
>
>>> email@hidden
>
>>> http://www.lists.apple.com/mailman/listinfo/applescript-users