Mysterious Preferences File Again
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