Re: Home directory
Re: Home directory
- Subject: Re: Home directory
- From: Bill <email@hidden>
- Date: Wed, 3 Mar 2004 00:08:50 +0800
To update the following script for MAC OS X, I need to know how is
called
the home directory on OS X.
If you are using Mac OS X 10.3, you may refer to Documents folder
directly by:
path to documents folder
-- on my machine, the result is
-- alias "bee:Users:bill:Documents:"
It is important to applicate the script for each different users to
verify
if the folder "Donnies utilisateur AppleWorks" of folder "Documents" of
3Home Directory2 exist. But I do not know how we call the home
directory on
mac OS X. It must be easy but I do not found it in the help.
You may consider:
set bonbon to ((path to documents folder) as Unicode text) & "Donnies
utilisateur AppleWorks"
try
alias bonbon
-- folder named "Donnies utilisateur AppleWorks" exists
say "il y a bonbon"
on error
-- no such folder
say "il n'y a pas bonbon"
end try
bill
_______________________________________________
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.