Re: Creating a folder in user preferences
Re: Creating a folder in user preferences
- Subject: Re: Creating a folder in user preferences
- From: Matthew Smith <email@hidden>
- Date: Wed, 23 Feb 2005 23:15:26 +1100
on 23/02/2005 23:07, Hanaan Rosenthal at email@hidden wrote:
> Does anyone knows under which circumstance trying to create a folder in
> the user's preferences folder by using the "path to preferences folder
> from user domain" returns the following error:
> "FInder got an error: can't get some object"?
> Do some users running OS X not have this folder or not have access to
> the 'path to' command?
I have no idea what is wrong with your code. You didn't include it in your
message. This works for me:
tell application "Finder"
set prefs to path to preferences folder
make new folder at prefs with properties {name:"Test1"}
end tell
--
Matthew Smith
_______________________________________________
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