• 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: User Name in OS X +
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User Name in OS X +


  • Subject: Re: User Name in OS X +
  • From: John W Baxter <email@hidden>
  • Date: Tue, 22 Oct 2002 22:04:11 -0700

We need to incorporate more obscure "stuff". Therefore, this additional
method:

set cmd to "perl -e \"@p = getpwnam `whoami`;\""
set cmd to cmd & " -e 'print \"$p[6]\";'"

do shell script cmd
-->"John Baxter"

-;) --John

--
John Baxter email@hidden Port Ludlow, WA, USA
I'd like a load of fully decomposed Unicode for the garden, please.
_______________________________________________
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.

  • Follow-Ups:
    • Re: User Name in OS X +
      • From: John Delacour <email@hidden>
References: 
 >Re: User Name in OS X + (From: "Jared ''Danger'' Earle" <email@hidden>)

  • Prev by Date: RE: need help printing from quark
  • Next by Date: RE: need help printing from quark
  • Previous by thread: Re: User Name in OS X +
  • Next by thread: Re: User Name in OS X +
  • Index(es):
    • Date
    • Thread