GetVariable() vs document.kmvar in JavaScript in Custom HTML windows

Is there any relative advantage when using JavaScript in Custom HTML windows between window.KeyboardMaestro.GetVariable(varName) and document.kmvar.varName?

Never mind. window.KeyboardMaestro.GetVariable("varName") gets the variable as it is now. document.kmvar.varName is set at the time the window was generated. Got it.

2 Likes