Re: How to find current user?
Re: How to find current user?
- Subject: Re: How to find current user?
- From: kai <email@hidden>
- Date: Fri, 29 Oct 2004 22:50:21 +0100
On Fri, 29 Oct 2004 14:19:05 +0200, Emmanuel wrote:
boo-hoo, so, you don't read my posts?
Take heart, Emmanuel - some of us do.
At 4:30 PM +0200 10/28/04, Emmanuel wrote:
path to preferences
When this thread first kicked off, I was going to respond in a similar
way to you. However, on seeing your original reply, I refrained. (No
point in too many duplicates. Happens a lot here.) ;-)
Not only are the time-honoured vanilla AS methods of < path to
preferences > or < path to "pref" > simpler than some of the suggested
alternatives, but they're substantially faster, too.
Even if a UNIX-type path is required, < POSIX path of (path to
preferences) > is faster (and probably more reliable) than something
like < (do shell script "printenv HOME") & "/Library/Preferences/" >.
There may be times that a 'do shell script...' can beat the pants off
native AS. IMHO, this ain't one of them. :-)
---
kai
_______________________________________________
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