• 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
Mysterious Preferences File Again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mysterious Preferences File Again


  • Subject: Mysterious Preferences File Again
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 12 May 2006 18:45:20 -0500

When my application needs to create a new preferences file, it first reads the value of CFBundleIdentifier in its info.plist file, then appends '.plist' to get the prefs file name. Next it copies a default .plist file, containing some default preferences, from Contents/Resources, into the preferences folder and renames it with the proper prefs file name.

At this point, my application ceases to operate correctly, because the new preferences file has been overwritten with such as ...
AppleNavServices:ChooseFolder:0:HomeDirectoryPath
AppleNavServices:ChooseFolder:0:Path
AppleNavServices:ChooseFolder:0:Position
AppleNavServices:ChooseFolder:0:Size
and other stuff
The default preferences are not there.


I have a work-around in mind. But...

I am (was) under the impression that only my application should or could write to its preferences file. In our previous discussion on this problem, it seems that it is caused by 'choose folder', and, yes, I'm using 'choose folder'.

What is writing this stuff without my permission?
How can I prevent its being written?
Is there a bug here?

_______________________________________________
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: Mysterious Preferences File Again
      • From: Matt Deatherage <email@hidden>
  • Prev by Date: Re: iTunes hook
  • Next by Date: Re: Scripting TextEdit, round II
  • Previous by thread: Re: Applescript-users Digest, Vol 3, Issue 251
  • Next by thread: Re: Mysterious Preferences File Again
  • Index(es):
    • Date
    • Thread