• 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: Two related questions:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two related questions:


  • Subject: Re: Two related questions:
  • From: Philip Aker <email@hidden>
  • Date: Thu, 19 Sep 2002 03:43:36 -0700

On Wednesday, Sep 18, 2002, at 13:46 US/Pacific, John C. Welch wrote:

1) (I know this has come up , but I can't remember my userid/passsword for the archives, so forgive me) How does one go about getting the currentlogged in user short name, aka userid

set uname to (do shell script "id -un")
set uid to (do shell script "id -u")
uname & "=" & uid


Philip Aker
http://www.aker.ca
_______________________________________________
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: Two related questions:
      • From: "John C. Welch" <email@hidden>
References: 
 >Two related questions: (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Re: working with styled text records
  • Next by Date: Queuing a Eudora message...
  • Previous by thread: Re: Two related questions:
  • Next by thread: Re: Two related questions:
  • Index(es):
    • Date
    • Thread