Re: Setting a .plist value?
Re: Setting a .plist value?
- Subject: Re: Setting a .plist value?
- From: Shane Stanley <email@hidden>
- Date: Sat, 06 Feb 2016 11:10:11 +1100
On 6 Feb 2016, at 10:54 AM, Brian Christmas <email@hidden> wrote:
>
> I’ve struck a problem in El Capitan where Dock icons that are dragged off are not removed from the permanent .plist Dock Preferences.
How or when preference files are written is entirely up to the OS; it's something done by a daemon at its convenience. You should speak to defaults directly, using do shell script and the defaults command, or NSUserDefaults:
set theInfo to (current application's NSUserDefaults's alloc()'s init()'s persistentDomainForName:"com.apple.dock") as record
--
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