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: Philip Aker <email@hidden>
- Date: Tue, 28 Jan 2003 19:48:19 -0800 (PST)
On Tue, 28 Jan 2003, Paul Skinner wrote:
>
>> set homeFldr to path to current user folder
>
> 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
>
((POSIX file ((system attribute "HOME") & "/")) as string) as alias
>
-->alias "titan:Users:paulskin:"
Well, here's two more scents on this trail:
(POSIX file (do shell script "echo -n $HOME")) as string
path to "cusr" as string
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.