Hallo liebes Forum,
ich habe seit meiner Umstellung von XP auf Win7 ein Problem mit folgendem Script. Vllt. könnt ihr mir helfen...
[autoit]
#include <IE.au3>
$oIE = _IECreate("https://myportal-websso.corp.telekom.de/login/uidpw")
_IELoadWait($oIE)
MouseMove(600,10,10)
[/autoit][autoit][/autoit][autoit]; IE Maximieren
$HWND = _IEPropertyGet($oIE, "hwnd")
WinSetState($HWND, "", @SW_MAXIMIZE)
_IELoadWait($oIE)
$oForm = _IEFormGetCollection($oIE)
$oEMail = _IEFormElementGetObjByName($oForm,"email")
$oPass = _IEFormElementGetObjByName($oForm,"password")
; Formular für Benutzerdaten ausfüllen
_IEFormElementSetValue($oEmail,"mein.mail@123.de")
_IEFormElementSetValue($oPass,"PASSWORD")
_IEAction($oPass,"focus")
send("{Enter}")
Hier noch der Errorcode aus SciTE:
--> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_ClientDisconnected (-2147023179, Browser has been deleted prior to operation.)
--> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_InvalidObjectType ()
--> IE.au3 T3.0-1 Error from function _IEPropertyGet, $_IEStatus_InvalidObjectType
--> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_InvalidObjectType ()
"C:\Users\A1168019\Data\Downloads\Apps\AutoIt_new\Include\IE.au3" (903) : ==> Variable must be of type "Object".:
Return SetError($_IEStatus_Success, $oTemp.forms.length, $oTemp.forms)
Return SetError($_IEStatus_Success, $oTemp^ ERROR
>Exit code: 1 Time: 3.807
Ich würde mich über jeden Hinweis sehr freuen...
PS: Ich arbeite mit einem alten IE8.
Grüße
eXpli