Problem wurde komplett gelöst!
.comdirekt
Postbank
Deutsche Bank
Norisbank
Hier das ursprüngliche Problem:
Spoiler anzeigen
Hallo,
ich habe mit ein kleines tool erstellt was meinen Kontostand abfragen soll.
Leider geht es nicht ganz wie ich will.
Ich wollte das der IE im Hintergrund bleibt.
macht er aber nicht
und irgenwie arbeitet das script dann net weiter.
#include <IE.au3>
#include <Array.au3>
#include <GUIConstantsEx.au3>
GUICreate("Comdirect", 210, 40)
$Label1 = GUICtrlCreateLabel("Kontostand", 10, 10, 190, 50)
Opt("GUIOnEventMode", 1)
GUISetOnEvent($GUI_EVENT_CLOSE, "OnExit")
GUISetState()
Func OnExit()
Exit
EndFunc
GUICtrlSetData($Label1, "Kontostand wird abgefragt...")
$oIE = _IECreate("https://kunde.comdirect.de/lp/wt/login", 0, 0)
$fname = _IEGetObjById($oIE, "param1")
$fpin = _IEGetObjById($oIE, "param3")
$fsubmit = _IEGetObjById($oIE, "login")
$name = InputBox("Loginname?", "Bitte geben Sie Ihre Loginnamen ein!", "","*")
$pin = InputBox("Pin?", "Bitte geben Sie Ihre Pin ein!", "","*")
_IEFormElementSetValue($fname, $name)
_IEFormElementSetValue($fpin, $pin)
_IEFormSubmit($fsubmit)
_IELoadWait($oIE)
$oTable = _IETableGetCollection($oIE, 2)
$aTableData = _IETableWriteToArray($oTable)
_IEImgClick($oIE, "buttonLogout", "name")
_IEQuit($oIE)
GUICtrlSetData($Label1, "Kontostand:" & $aTableData[2][1])
[/autoit] [autoit][/autoit] [autoit]While 1
WEnd
seht ihr den fehler?
danke & gruß
vip