Re: User Name in OS X +
Re: User Name in OS X +
- Subject: Re: User Name in OS X +
- From: "John C. Welch" <email@hidden>
- Date: Tue, 22 Oct 2002 09:37:29 -0400
On 10/22/2002 07:58, "John Delacour" <email@hidden> wrote:
>
> I'm having trouble getting the full "User Name" of the current user with AS.
>
>
>
do shell script "echo $USER"
That gives you the short name, not the long name, which is what he's looking
for.
Besides, that command's twice as long as it needs to be:
do shell script "whoami"
john
--
The average cost of rehabilitating a seal after the Exxon Valdez oil spill
in Alaska was $80,000. At a special ceremony, two of the most expensively
saved animals were released back into the wild amid cheers and applause from
onlookers. A minute later, in full view, they were both eaten by a killer
whale.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.