Re: About the System Information command
Re: About the System Information command
- Subject: Re: About the System Information command
- From: Michael Gmail <email@hidden>
- Date: Fri, 27 May 2005 22:31:27 -0500
On May 27, 2005, at 12:38 PM, Gary (Lists) wrote:
'hostname' returns the lower-cased version of what I entered as
the Computer
Name.
FWIW, I get the computer name back in title case, just as it was
entered.
That's just what I said. (Read the last line of the quote you
clipped.)
'computer name' comes back as it was entered, case intact.
'hostname' is a lowercase version of that.
This applied to, IIRC, the use of the shell script to retrieve the
'hostname', when the OP wanted to get at the 'Comptuer Name'.
To be specific, on my system do shell script "hostname -s" returns
"Budapest" with a capital 'B'. And do shell script "hostname" returns
"Budapest.local", also with a capital 'B'--not the lower-case version.
Michael
--
<http:/globalocal.blogspot.com>
“If you chase two rabbits, both will escape.”
_______________________________________________
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