Re: How to find current user?
Re: How to find current user?
- Subject: Re: How to find current user?
- From: John Stewart <email@hidden>
- Date: Fri, 29 Oct 2004 04:47:44 -0400
On 10/28/04 at -0200 Bernardo Hoehl said this
>> Sorry if this is a FAQ at this point. Basically I wanna get the path
>> to the current user's Preferences folder. Is there any way to easily
>> get this in Applescript?
Bernardo,
You've received a lot of answers but everyone seems to be ignoring -
set prefsPath to (path to preferences from user domain)
which is pure Applescript. There is a place for "do shell script" but this
isn't it.
This is available via the Standard Additions osax. See the "Path to" command.
JBS
--
If Fed Ex and UPS were to merge, would they call it Fed UP? - George Carlin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden