Re: Scripting Safari's Preferences window
Re: Scripting Safari's Preferences window
- Subject: Re: Scripting Safari's Preferences window
- From: Richard Morton <email@hidden>
- Date: Thu, 17 Jul 2003 20:31:36 +1000
On Thursday, July 17, 2003, at 08:08 PM, Nigel Smith wrote:
OSX is a multiuser system.
But AppleScript itself has no way to find out which user is currently
logged
in.
Well, not exactly...
It doesn't worry *me* that much, since there is a workround. But why
hasn't
such a fundamental hook into the Unix world not been implemented? Why
should
a novice -- indeed, any -- AppleScripter have to resort to the shell
for
such a thing?
I think I've seen only shell solutions for the long name, but there are
these:
system attribute "USER" -- shortname
path to "cusr" -- current homer folder
Cheers,
Lou Serre
_______________________________________________
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.