Question
Pass values from menu to plugin scripts
I wanted to operate plugin two mode in single *.lua scripts,
I know how to tell in info.lua making two menus in single plugin,
| LrLibraryMenuItems = { | ||
| {title = 'BLAH', | ||
| file = 'BLAH.lua', | ||
| enabledWhen = 'photosAvailable', | ||
| }, | ||
| {title = 'BLAH foeced mode', | ||
| file = 'BLAH.lua', | ||
| enabledWhen = 'photosAvailable', | ||
| } |
Is there way to pass parameters for lua scripts from info.lua?
how to obtain values in lua scripts?