PennController for IBEX › Forums › Support › Convert Var/Text to String for get-method › Reply To: Convert Var/Text to String for get-method
May 10, 2023 at 6:45 am
#10548
Jeremy
Keymaster
There is no javascript function called setVar
. What you can do is:
getButton("B1") .callback( newFunction( ()=>{ try { getCanvas( getVar("canvasnr")._element.value ).visible()._runPromises(); } catch (e) { } }).call() , getVar("canvasnr").set("C3") )
Jeremy