Saturday, March 23, 2019

#1 2019-03-11 06:56:38 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5588

[ANN] Library for storing preferences

I’ve just released a Script Library for storing preferences and persistent values. This gets around the problem where applets cannot retain property values between launches because they are codesigned, or locked to avoid repeated authorization dialogs.

PrefsStorageLib takes advantage of the system-provided user defaults system, and values are reflected in the relevant property list (.plist) files in a user’s ~/Library/Preferences folder. It requires macOS 10.11 or later. You can get it here:

https://www.macosxautomation.com/apples … StorageLib

Last edited by Shane Stanley (2019-03-11 06:57:39 pm)


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

#2 2019-03-12 03:10:02 pm

kerflooey
Member
Registered: 2011-07-07
Posts: 156

Re: [ANN] Library for storing preferences

Much appreciated, Shane!

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)