Name of current users home folder (OS X)
Name of current users home folder (OS X)
- Subject: Name of current users home folder (OS X)
- From: Steve Savery <email@hidden>
- Date: Tue, 28 Jan 2003 14:53:11 +0000
Hi all
First I'd like to thank everyone on this list for their continued help.
You've helped me many times over.
I've devised a way of finding the current users home folder very
crudely, see below:
tell application "Keychain Scripting"
set myUsersKey to name of keychain 1 as string
end tell
Obviously this requires that the user has not amended their
keychain(s). Is there a better way of achiving this value? I've
searched the listing and a few of the obvious Scripting Dictionaries
but this was the best I could come up with.
The reason I need this is so that I can create a constant with the
location of a file/folder on the desktop of each users 'profile'.
Many thanks,
Steve
_______________________________________________
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.