• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating a folder in user preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Creating a folder in user preferences
      • From: Christian Vinaa <email@hidden>
References: 
 >Creating a folder in user preferences (From: Hanaan Rosenthal <email@hidden>)

  • Prev by Date: Creating a folder in user preferences
  • Next by Date: Re: Creating a folder in user preferences
  • Previous by thread: Creating a folder in user preferences
  • Next by thread: Re: Creating a folder in user preferences
  • Index(es):
    • Date
    • Thread