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

User Name in OS X +


  • Subject: User Name in OS X +
  • From: Duncan Cowan <email@hidden>
  • Date: Tue, 22 Oct 2002 15:55:00 +1000

I'm having trouble getting the full "User Name" of the current user with AS.
I can't seem to get it from the Account pref pane, from the Apple System
Profiler (without complicated text filtering)
or from file ownerships . . .
(In fact I can't seem to make the Pref Panes return anything . . .)
If I get "owner" of "info for" an item, I get the short user name not the
full account name . . .
"user name" appears to be a valid AS key word but I don't know exactly where
or what to call it from.
Am I way off track?
The reason I need the full name is so that the script will be user
independent.
I've thought of creating an "install" script that with generate a pref file
with the users name - but it would be nice to avoid this.
Advice received with appreciation.
_______________________________________________
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>
    • applescripters in germany?
      • From: Michael Stoll <email@hidden>
    • Re: User Name in OS X +
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Moving Text from TextEdit to Word
  • Next by Date: Re: User Name in OS X +
  • Previous by thread: Re: Moving Text from TextEdit to Word
  • Next by thread: Re: User Name in OS X +
  • Index(es):
    • Date
    • Thread