• 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: Mike Tuller <email@hidden>
  • Date: Wed, 08 Nov 2000 17:19:57 -0600

That did it. Thanks.

> From: Jonathan Neff <email@hidden>
> Date: Wed, 8 Nov 2000 16:09:45 -0500 (EST)
> To: Mike Tuller <email@hidden>
> Cc: email@hidden
> Subject: Re: Apple system profiler
>
> I tried this again after pulling out all of my scripting additions except
> for Standard Additions and didn't have any problems. I'm using OS 9.0.4,
> ASP version 2.4.4, and Applescript 1.4.3.
> If you are using the same setup (software versions), try pulling out some
> or all of your scripting additions (except for standard additions) to see
> if one of the others is causing a language conflict.
>
> Hope this helps,
> jonathan
>
>
>
> On Tue, 7 Nov 2000, Mike Tuller wrote:
>
>
>> With this script, I get the same error as I did when trying my own. Expected
>> end of line, etc. but found identifier.
>>
>> Any ideas as to what that means?
>>
>>> From: Jonathan Neff <email@hidden>
>>> Reply-To: Jonathan Neff <email@hidden>
>>> Date: Tue, 7 Nov 2000 12:05:34 -0500 (EST)
>>> To: Mike Tuller <email@hidden>
>>> Cc: email@hidden
>>> Subject: Re: Apple system profiler
>>>
>>> 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
>>> set ethernetinfo to network info
>>> set productionInfo to production info
>>> set hardwareInfo to hardware info
>>>
>>> set finderVersion to finder version of macOSInfo
>>> set systemVersion to system version of macOSInfo
>>> set quicktimeVersion to QuickTime version of macOSInfo
>>>
>>> set videoMemorySize to video memory size of memoryInfo
>>> set VMInfo to VM info of memoryInfo
>>> set VMSize to VM size of memoryInfo
>>> set physicalRAM to physical RAM size of memoryInfo
>>> set diskCache to memory cache size of memoryInfo
>>>
>>> set logicBdNum to logicboard num of hardwareInfo
>>> set ratedSpeed to rated speed of hardwareInfo
>>> set modelName to model name of hardwareInfo
>>> set keyboardType to keyboard type of hardwareInfo
>>> set processorType to processor type of hardwareInfo
>>> set processorsLocal to processors of hardwareInfo
>>>
>>>
>>> set ethernetSpeed to Ethernet speed of ethernetinfo
>>> set ethernetDuplex to Ethernet duplex of ethernetinfo
>>> set appletalkZone to default AppleTalk zone of ethernetinfo
>>> set networkPorts to active network ports of ethernetinfo
>>> set appletalkNetwork to AppleTalk network of ethernetinfo
>>> set appletalkNode to AppleTalk node of ethernetinfo
>>> set appletalkAddress to AppleTalk address of ethernetinfo
>>> set appletalkRouter to AppleTalk router of ethernetinfo
>>> set TCPIPnetmask to TCPIP netmask of ethernetinfo
>>> set TCPIPaddress to TCPIP address of ethernetinfo
>>> set TCPIPgateway to TCPIP gateway of ethernetinfo
>>> set TCPIPdomain to TCPIP domain of ethernetinfo
>>> set TCPIPnameserver to TCPIP nameserver of ethernetinfo
>>>
>>> set romRevision to ROM revision of productionInfo
>>> set bootROM to boot ROM version of productionInfo
>>> set bootROMfile to boot ROM file version of productionInfo
>>> set serialNumber to serial number of productionInfo
>>> activate
>>> quit
>>> end tell
>>>
>>> set fileRef to open for access file "HardDisk:Desktop
>>> Folder:gestaltoutput.txt" with write permission
>>>
>>> try
>>> writeData("Finder version:", finderVersion, fileRef)
>>> writeData("System version:", systemVersion, fileRef)
>>> writeData("Quicktime version:", quicktimeVersion, fileRef)
>>>
>>> writeData("Video Memory size:", videoMemorySize, fileRef)
>>> writeData("Virtual Memory status:", VMInfo, fileRef)
>>> writeData("Virtual Memory size:", VMSize, fileRef)
>>> writeData("Physical RAM:", physicalRAM, fileRef)
>>> writeData("Disk Cache:", diskCache, fileRef)
>>>
>>> writeData("Logic Board number:", logicBdNum, fileRef)
>>> writeData("Processor speed:", ratedSpeed, fileRef)
>>> writeData("Model Name:", modelName, fileRef)
>>> writeData("Keyboard Type:", keyboardType, fileRef)
>>> writeData("Processor Type:", processorType, fileRef)
>>> writeData("Number of Processors:", processorsLocal, fileRef)
>>>
>>> writeData("Ethernet Speed:", ethernetSpeed, fileRef)
>>> writeData("Ethernet Duplex:", ethernetDuplex, fileRef)
>>> writeData("AppleTalk zone:", appletalkZone, fileRef)
>>> writeData("Network Port:", networkPorts, fileRef)
>>> writeData("AppleTalk Network:", appletalkNetwork, fileRef)
>>> writeData("AppleTalk Node:", appletalkNode, fileRef)
>>> writeData("AppleTalk Address:", appletalkAddress, fileRef)
>>> writeData("AppleTalk Router:", appletalkRouter, fileRef)
>>> writeData("TCPIP Netmask:", TCPIPnetmask, fileRef)
>>> writeData("TCPIP Address:", TCPIPaddress, fileRef)
>>> writeData("TCPIP Gateway:", TCPIPgateway, fileRef)
>>> writeData("TCPIP Domain:", TCPIPdomain, fileRef)
>>> writeData("TCPIP Nameserver:", TCPIPnameserver, fileRef)
>>>
>>> writeData("ROM Revision:", romRevision, fileRef)
>>> writeData("Boot ROM:", bootROM, fileRef)
>>> writeData("Boot ROM File:", bootROMfile, fileRef)
>>> writeData("Serial Number:", serialNumber, fileRef)
>>>
>>> close access fileRef
>>> on error
>>> close access fileRef
>>> end try
>>>
>>> on writeData(desc, value, fileLocation)
>>> try
>>> write desc & tab & tab & tab & value & return to fileLocation
>>> on error
>>> display dialog "oops"
>>> end try
>>> end writeData
>>
>>
>
>
>
> ***********
> Jonathan Neff
> Student Technology Centers
> Indiana University - Bloomington
> email@hidden
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


  • Prev by Date: Re: Scripter (The Program)
  • Next by Date: Re: Scripter (The Program)
  • Previous by thread: Re: Apple system profiler
  • Next by thread: Apply style in AppleWorks 5
  • Index(es):
    • Date
    • Thread