Re: Name of current users home folder (OS X)
Re: Name of current users home folder (OS X)
- Subject: Re: Name of current users home folder (OS X)
- From: Paul Skinner <email@hidden>
- Date: Tue, 28 Jan 2003 19:49:22 -0500
On Tuesday, January 28, 2003, at 02:18 PM, Gnarlodious wrote:
Entity Mr Tea spoke thus:
set homeFldr to path to current user folder
Gnarly sez: "We don't need no stinkin' simpolicity";
set tid to ":"
set userHome to items 2 thru -1 of (words 2 thru -4 of paragraph 2 of
(do shell script ("finger " & (system attribute "USER")))) as text
That returns "paulskin" for me here, but how about...
((POSIX file ((system attribute "HOME") & "/")) as string) as alias
-->alias "titan:Users:paulskin:"
--
Paul Skinner
_______________________________________________
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.