• 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
user name (long name)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

user name (long name)


  • Subject: user name (long name)
  • From: Greg Spence <email@hidden>
  • Date: Tue, 22 Oct 2002 17:08:45 -0500

Duncan Cowan, wrote...

I'm having trouble getting the full "User Name" of the current user
with AS.

This should work for you...


set usn to do shell script "niutil -readprop . /users/`whoami` realname"

display dialog usn


greggo
_______________________________________________
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.

  • Prev by Date: Re: Clipboard use
  • Next by Date: Re: Clipboard use
  • Previous by thread: Re: applescripters in germany?
  • Next by thread: Applescript send problem
  • Index(es):
    • Date
    • Thread