How can I do to let return a value from javascript to autoit? I would like to use some javascript functions, passing values from AutoIt and get result back to autoit,
for example, this little snippet formats a number passed from autoit and show the result in an javascript alert box, but nothing is returned back to autoit. #include <ie.au3> Global $oIE = _IECreate("about:blank", 0, 0, 1, 0) ; use an hidden ie instance as a javascript "exposer" $r = 1000000 $result = $oIE.document.parentwindow.execscript('alert(parseInt( ' & $r & ' ).toLocaleString());') MsgBox(0, 0, $result) any suggestions on how to have the result returned back to autoit is welcome
(avoiding temporary storage on phantom hidden fields or such alchemies please)
Thank you