Failure enumerating Develop Presets
I am a relative newbie to LR Plugin development, but an experienced software dev. I'm trying to do work with Develop Presets, and am starting by simply trying to enumerate the existing presets. When I try to run the code below, I get the error
The plug-in encountered an error when performing the menu item “Tester”.
Tester.lua:5: attempt to call field 'LrDevelopPresetFolders' (a nil value).
As I read the SDK docs, developPresetFolders is a function, not a field. It looks like the SDK docs are quite thorough, so I assume I'm reading something incorrectly.
local LrDialogs = import 'LrDialogs'
local LrApplication = import 'LrApplication'
LrDialogs.message("LrDevelopPresetFolders()",
LrApplication.LrDevelopPresetFolders(), "info")
