Re: dock position
Re: dock position
- Subject: Re: dock position
- From: Shane Stanley <email@hidden>
- Date: Mon, 27 Oct 2014 09:22:32 +1100
On 27 Oct 2014, at 4:55 am, Luther Fuller <email@hidden> wrote:
>
> This application writes to the Dock preference file,
> username:Library:Preferences:com.apple.dock.plist
> But, will it work in Yosemite ? (It does work in Lion)
> I would like to know !
From the release notes:
> The on-disk property list files used by NSUserDefaults have always been a private implementation detail, but in previous releases of iOS, and significantly older releases of Mac OS X, directly modifying them has mostly worked (though there are some potential data-loss issues for applications that do so, even on previous systems). In iOS 8 and later, the NSUserDefaults daemon process (cfprefsd) will cache information from these files and asynchronously write to them. This means that directly modifying plist files is unlikely to have the expected results (new settings will not necessarily be read, and may even be overwritten). You should use the NSUserDefaults or CFPreferences APIs, or (on Mac OS X) the defaults(1) command, to interact with the preferences system.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden