Hi I trying to get access to
in some automation for my working those options:
nn = natron.getActiveInstance()
ID = nn.getAppID()
app = natron.getGuiInstance(ID)
selectedNodes = app.getSelectedNodes()
app = natron.getGuiInstance(0)
In general I think that first varian better
But when I trying to do same thing with like this
if app.projectName.getValue() == “Untitled.ntp”:
I am trying to check some information about project like (name and scene information ) I resived - Error about … func is not a property of object … Ok
main program is singelton and we need to get instance … But in deferent places it’s working correctly?
if I use in script editor string like this
all well done
My variant is creating “project” node and setup correct paths for scene in it.
But how can use this function projectName.getValue() stable from script to script?