• 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: Owner/User Name in OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Owner/User Name in OSX


  • Subject: Re: Owner/User Name in OSX
  • From: Simon Topliss <email@hidden>
  • Date: Thu, 25 Apr 2002 08:51:42 +0100

Cool, this also works. Cheers, Bill. I'm not sure which suggestion to go
with now, yours or Steve's. I'll have to test on more machines.

Simon

On 25/4/02 4:15 am, "bill" <email@hidden> wrote:

> Simon,
>
> Try this:
>
> -- below code in one line
> set longName to words 4 thru -1 of paragraph 1 of (do shell script ("finger
> " & (system attribute "USER")))
> -- above code in one line
> set {tid, text item delimiters} to {text item delimiters, space}
> set {longName, text item delimiters} to {longName as string, tid}
> longName
>
>
> Bill
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >Re: Owner/User Name in OSX (From: bill <email@hidden>)

  • Prev by Date: Re: position of text
  • Next by Date: Re: Beep broken in 10.1.4?
  • Previous by thread: Re: Owner/User Name in OSX
  • Next by thread: Re: Owner/User Name in OSX
  • Index(es):
    • Date
    • Thread