ich müsste eine Javascript-Variable per AutoIT auslesen. Leider funktioniert das Script aus dem Tutorial "AutoIT Tutorial Weiterführendes" Kapitel XII : Internetexplorer Automation nicht mehr:
PHP Code:
#include<IE.au3>
$oIE=_IECreate("http://www.elitepvpers.com/forum/")
_IELoadWait($oIE)
$securitytoken=$oIE.document.parentWindow.eval('javascript:SECURITYTOKEN')
Msgbox(0,"test",$securitytoken)
$oIE.document.parentWindow.eval('javascript:document.body.style.backgroundColor="#FF0000";')
sleep(1111)
$oIE.document.parentWindow.eval('document.body.contentEditable = "true"; document.designMode = "on"; void 0')
Vielen Dank im Voraus.
Grüße
Stephan






