Copy link to clipboard
Copied
Thanks to this group, my plugin works good, but I would like to make it more user friendly.
I would like to let the user choose a default folder, so in the main window were there is a browse button it go directly to that directory.
As I understand it, the function to read this value must be defined in the pluginInit file ?
Also it's not quite clear for me how to write and read them, is LrPrefs.prefsForPlugin the correct way and can you point out in the SDK where to find some examples.
Thank you
Copy link to clipboard
Copied
"is LrPrefs.prefsForPlugin the correct way"
Yes.
"in the SDK where to find some examples"
The only .lua file in the SDK that uses LrPrefs is FlickrAPI.lua.