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

Re: Apple System Profiler


  • Subject: Re: Apple System Profiler
  • From: Richard 23 <email@hidden>
  • Date: Mon, 11 Dec 2000 17:41:23 -0800

>> 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


  • Follow-Ups:
    • Re: Apple System Profiler
      • From: Mike Tuller <email@hidden>
  • Prev by Date: Re: scripting Photoshop
  • Next by Date: Re: list of records
  • Previous by thread: Apple System Profiler
  • Next by thread: Re: Apple System Profiler
  • Index(es):
    • Date
    • Thread