Copy link to clipboard
Copied
Hello guys,
I am trying to get the value of the plugin version from within the plugin but it seems there is no way of accessing it... Do you have any tips?
Thanks a lot!
local Info = require 'Info.lua'
...Info.VERSION...
Copy link to clipboard
Copied
local Info = require 'Info.lua'
...Info.VERSION...
Copy link to clipboard
Copied
I am not sure why but I was looking for a call in the API for that...
But your answer is perfect! Thank you!
Copy link to clipboard
Copied
or:
local info = dofile( LrPathUtils.child( _PLUGIN.path, "Info.lua" ) )
Find more inspiration, events, and resources on the new Adobe Community
Explore Now