Re: About the System Information command
Re: About the System Information command
- Subject: Re: About the System Information command
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 25 May 2005 10:15:18 -0700
- Thread-topic: About the System Information command
On 5/25/05 9:59 AM, "Emmanuel" <email@hidden> wrote:
> At 10:29 AM -0400 5/25/05, Francois Houle wrote:
>>
>> I'm trying to use the "System information" command (part of Misc
>> Commnads in Standard additions) to retreive the "computer name"...
>> But I just can't figure out how to use it... How should I as for the
>> "system information" property called "computer name" ?
>
> I use Panther: do you say you have "System information" in your
> dictionary? Or do you really mean "System attribute"?
It's a new standard addition command in Tiger.
system info: Get information about the system (defined in:
StandardAdditions.osax)
system info
Result: system information -- a record containing the system
information
Class system information: Reply record for the system info¹ command
Properties:
AppleScript version Unicode text [r/o] -- the AppleScript version
AppleScript Studio version Unicode text [r/o] -- the AppleScript
Studio version
system version Unicode text [r/o] -- the system version
short user name Unicode text [r/o] -- the current user¹s short name
long user name Unicode text [r/o] -- the current user¹s long name
user ID integer [r/o] -- the current user¹s ID
user locale Unicode text [r/o] -- the current user¹s locale
home directory alias [r/o] -- the current user¹s home directory
boot volume Unicode text [r/o] -- the boot volume
computer name Unicode text [r/o] -- the computer name
host name Unicode text [r/o] -- the host name
IPv4 address Unicode text [r/o] -- the IPv4 address
primary Ethernet address Unicode text [r/o] -- the primary Ethernet
address
CPU type Unicode text [r/o] -- the CPU type
CPU speed integer [r/o] -- the clock speed of the CPU in MHz
physical memory integer [r/o] -- the amount of physical RAM in MB
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden