Page 2 of 2

Re: Python Script to Add 2 Numbers/Variables

PostPosted: Wed Dec 06, 2023 4:38 pm
by ckeyes888
Sure, here is the working code.
Code: Select all
 snowTotal = int(indigo.variables[1813022255].value) + int(indigo.variables[504418172].value)
indigo.variable.updateValue(1813022255, value=str(snowTotal))


Thanks,

Carl