Re: Owner/User Name in OSX
Re: Owner/User Name in OSX
- Subject: Re: Owner/User Name in OSX
- From: bill <email@hidden>
- Date: Thu, 25 Apr 2002 11:15:20 +0800
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.