• 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: kai <email@hidden>
  • Date: Thu, 24 Feb 2005 03:03:50 +0000


On Wed, 23 Feb 2005 21:09:22 -0500, Hanaan Rosenthal wrote:

My script goes something like the one below.
If someone can figure out why on certain user's Macs running OS X it won't run, I would be very grateful.


Hanaan

set prefsFolderPath to ((path to preferences from user domain) as string)

[snip]

Amazingly, that still seems to work in OS 9, Hanaan - so we *should* be able to get it to work in OS X. (OK, it compiles in OS 9 as "set prefsFolderPath to ((path to preferences given «class from»:user domain) as string)" - and evidently ignores the domain stuff - but it still works.)

One thought, since it's apparently limited to certain machines. Have you considered this?...

--------------------

set prefsFolderPath to ((path to preferences from user domain) as Unicode text)

--------------------

---
kai
_______________________________________________
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


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