Beiträge von rewejo
-
-
ja möchte wissen welcher Browser der Standardbrowser ist . brauche das für ein script das unter ie ,ff laufen soll.
folgende funktion abfrfrage welcher browser
wenn ie dann script a,
bei ff script b
danke für jede hilfe -
-
nuts danke das war richtig
@anno deins bekomme ich nicht zum laufen .ich finde einfach den fehler nicht bilder und code im gleichen orderner
für eure hilfe viellen dank -
danke für eure hilfe
@anno leider kommt fehlermeldungSpoiler anzeigen
"C:\Programme\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "D:\Fische\random.au3" /autoit3dir "C:\Programme\AutoIt3" /UserParams
+>12:03:20 Starting AutoIt3Wrapper v.1.10.1.12 Environment(Language:0407 Keyboard:00000407 OS:WIN_XP/Service Pack 2 CPU:X86 ANSI)
>Running AU3Check (1.54.14.0) from:C:\Programme\AutoIt3
+>12:03:20 AU3Check ended.rc:0
>Running:(3.3.0.0):C:\Programme\AutoIt3\autoit3.exe "D:\Fische\random.au3"
D:\Fische\random.au3 (11) : ==> Subscript used with non-Array variable.:
$r = Random(1, $files[0], 1)
$r = Random(1, $files^ ERROR
->12:03:20 AutoIT3.exe ended.rc:1
+>12:03:21 AutoIt3Wrapper Finished
>Exit code: 1 Time: 1.765
sagt mir im nur das eine nicht Array variable benutzt wird
nuts danke aber es wird kein bild inder gui angezeigt.es kommt keine fehlemeldungke
kann einer helfen -
hallo ich habe mir eine gui erstellt wo die bilder per random erstellt werden sollen
nur klappt das random nicht für jede hilfe dank barSpoiler anzeigen
[autoit]
[/autoit] [autoit][/autoit] [autoit]
#include <GUIConstants.au3>
#include <WindowsConstants.au3>
#include <File.au3>
$pic1="D:\Fisch-Bitmap\AAl.bmp"
$pic2="D:\Fisch-Bitmap\bachforelle.bmp"
$pic3="D:\Fisch-Bitmap\barbe.bmp"GUICreate("Meine Fische Mit Bild,Rechtschreibung Gross Und Klein Egal",1000,700)
[/autoit] [autoit][/autoit] [autoit]$a= Random($pic1,$pic3, 1)
[/autoit] [autoit][/autoit] [autoit]GUISetBkColor (0x90BBCC)
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
GUICtrlCreateLabel("Wie Heißen Diese Fische",430,0,150,30)
$1=GUICtrlCreateInput("",10,30,100,30)$2=GUICtrlCreateButton("O.K",110,30,30,30)
[/autoit] [autoit][/autoit] [autoit]
GUICtrlCreatePic($a,10,60, 300,200)
3=GUICtrlCreateInput("",350,30,100,30)
$4=GUICtrlCreateButton("O.K",450,30,30,30)
GUICtrlCreatePic("D:\Fisch-Bitmap\bachforelle.bmp",350,60, 300,200)$5=GUICtrlCreateInput("",690,30,100,30)
[/autoit] [autoit][/autoit] [autoit][/autoit]
$6=GUICtrlCreateButton("O.K",790,30,30,30)
GUICtrlCreatePic("D:\Fisch-Bitmap\barbe.bmp",690,60, 300,200)
GUISetState ()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd -
wenn willst du versrchen
raupi und ich geben dir praktisch die gleiche antwort
eine ist sogar mit lösung
hohl -
@Reaker lol wo bitte ein im deinen code ein event auf dem schliessen button
$closerules definiert den button, aber einevent nicht
$Label1 = GUICtrlCreateLabel("Das sind die aktuell vereinbarten Regeln:", 8, 16, 198, 17)
$closerules = GUICtrlCreateButton("schließen", 532, 428, 97, 21, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
GUIDelete("Regeln")
ExitLoopEndSwitch
WEndich lach mich weg
-
[autoit]
[/autoit][autoit][/autoit][autoit][/autoit][autoit][/autoit]
Case $closerules
füge das malnach zeile 254 dann wird das button auchüber $closerules angesprochen -
schau mal auf englischen forum ,meine da was gelesen zu habe
-
ich saehe wie weit du gekommenn bist,klasse echt alles allein werd dir erstmal einig was du willst. kannst dann ja dein fertigen code posten
solong -
so wenn eingabe falsch wird buttion login bei fehler rot, hättes du bestimm auch geschafft,bei richtiger eingabe wird die internetverbindung auf gebaut. mehr bau ich nicht um
Spoiler anzeigen
[autoit][/autoit] [autoit][/autoit] [autoit]#include <ButtonConstants.au3>
[/autoit] [autoit][/autoit] [autoit]
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <GuiStatusBar.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GuiEdit.au3>
#include <IE.au3>
#include <File.au3>
Opt("MouseCoordMode",0)
#Region ### START Koda GUI section ### Form=d:\marcel\sonstiges\skripte\autoit\forms\schueler.kxf
$Form1_1 = GUICreate("Schüler.CC", 205, 410, 325, 202)
GUISetBkColor(0xFFFFFF)
$Pic1 = GUICtrlCreatePic("C:\Users\Marcel\Desktop\logo.bmp", 16, 8, 169, 89, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Group1 = GUICtrlCreateGroup("Login", 9, 99, 177, 241)
$Label1 = GUICtrlCreateLabel("E-Mail:", 16, 120, 36, 17)
$Label2 = GUICtrlCreateLabel("Passwort:", 16, 160, 50, 17)
GUICtrlCreateInput("", 16, 136, 161, 21)
GUICtrlCreateInput("", 16, 176, 161, 21)
;$Checkbox1 = GUICtrlCreateCheckbox("eingeloggt bleiben", 24, 200, 105, 17)
$Button1 = GUICtrlCreateButton("Login", 16, 224, 49, 21, $WS_GROUP)
$Button2 = GUICtrlCreateButton("benutzer anlegen", 76, 224, 90, 21, $WS_GROUP)
$Button3 = GUICtrlCreateButton("exit", 16, 350, 90, 21, $WS_GROUP)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$StatusBar1 = _GUICtrlStatusBar_Create($Form1_1)
_GUICtrlStatusBar_SetMinHeight($StatusBar1, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###While 1
[/autoit] [autoit][/autoit] [autoit]
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Case $Button1
daten()
Case $Button2
benutzer()
Case $Button3
Exit
EndSwitch
WEnd
Exit
Func daten()
$handle = ControlGetText ( "Schüler.CC", "", "[CLASS:Edit; INSTANCE:1]" );hole daten feld1
;MsgBox(64, "Information",$handle );test feld1
$handle1 = ControlGetText ( "Schüler.CC", "", "[CLASS:Edit; INSTANCE:2]" );hole daten feld2
;MsgBox(64, "Information",$handle1 );test feld2
if $handle=IniRead("C:\\schueler.ini", "sektion2", "email","falsch ")And $handle1=IniRead("C:\\schueler.ini", "sektion3", "pw","falsch ")Then
$sUsername = $handle
$sPassword = $handle1
$sUrl = "http://www.schueler.cc/"
$oIE = _IECreate ($sUrl)
$oHWND = _IEPropertyGet($oIE, "hwnd")
WinSetState ($oHWND, "", @SW_MAXIMIZE )
$oForm = _IEFormGetCollection ($oIE, 2)
$oUsername = _IEFormElementGetObjByName ($oForm, "email")
$oPassword = _IEFormElementGetObjByName ($oForm, "passwort")
_IEFormElementSetValue ($oUsername, $sUsername)
_IEFormElementSetValue ($oPassword, $sPassword)$oSubmit = _IEGetObjByName ($oIE, "button_login_login")
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
_IEAction ($oSubmit, "click")
; MsgBox(64, "Information","klappt" )
Else
;MsgBox(64, "Information","klappt nicht" )GUICtrlSetBkColor($Button1, 0xFF0000);rot
[/autoit] [autoit][/autoit] [autoit]
EndIf
[/autoit] [autoit][/autoit] [autoit]
EndFunc
Func benutzer ()
If Not FileExists("C:\\schueler.ini") Then
_FileCreate("C:\\schueler.ini")
EndIf
$email= InputBox("email","Bitte email eintragen","")IniWrite("C:\\schueler.ini", "sektion2", "email",$email)
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]$password= InputBox("email","Bitte password eintragen","")
[/autoit] [autoit][/autoit] [autoit]IniWrite("C:\\schueler.ini", "sektion3", "pw",$password)
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]EndFunc
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] -
so habe deinegui nochmal umgebaut du kannst jetz für ein benutzer die daten eintragen ,
Spoiler anzeigen
[autoit][/autoit] [autoit][/autoit] [autoit]#include <ButtonConstants.au3>
[/autoit] [autoit][/autoit] [autoit]
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <GuiStatusBar.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GuiEdit.au3>
#include <IE.au3>
#include <File.au3>
Opt("MouseCoordMode",0)
#Region ### START Koda GUI section ### Form=d:\marcel\sonstiges\skripte\autoit\forms\schueler.kxf
$Form1_1 = GUICreate("Schüler.CC", 205, 410, 325, 202)
GUISetBkColor(0xFFFFFF)
$Pic1 = GUICtrlCreatePic("C:\Users\Marcel\Desktop\logo.bmp", 16, 8, 169, 89, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Group1 = GUICtrlCreateGroup("Login", 9, 99, 177, 241)
$Label1 = GUICtrlCreateLabel("E-Mail:", 16, 120, 36, 17)
$Label2 = GUICtrlCreateLabel("Passwort:", 16, 160, 50, 17)
GUICtrlCreateInput("", 16, 136, 161, 21)
GUICtrlCreateInput("", 16, 176, 161, 21)
;$Checkbox1 = GUICtrlCreateCheckbox("eingeloggt bleiben", 24, 200, 105, 17)
$Button1 = GUICtrlCreateButton("Login", 16, 224, 49, 21, $WS_GROUP)
$Button2 = GUICtrlCreateButton("benutzer anlegen", 76, 224, 90, 21, $WS_GROUP)
$Button3 = GUICtrlCreateButton("exit", 16, 350, 90, 21, $WS_GROUP)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$StatusBar1 = _GUICtrlStatusBar_Create($Form1_1)
_GUICtrlStatusBar_SetMinHeight($StatusBar1, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###While 1
[/autoit] [autoit][/autoit] [autoit]
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Case $Button1
daten()
Case $Button2
benutzer()
Case $Button3
Exit
EndSwitch
WEnd
Exit
Func daten()
$handle = ControlGetText ( "Schüler.CC", "", "[CLASS:Edit; INSTANCE:1]" );hole daten feld1
;MsgBox(64, "Information",$handle );test feld1
$handle1 = ControlGetText ( "Schüler.CC", "", "[CLASS:Edit; INSTANCE:2]" );hole daten feld2
;MsgBox(64, "Information",$handle1 );test feld2
if $handle=IniRead("C:\\schueler.ini", "sektion2", "email","falsch ")And $handle1=IniRead("C:\\schueler.ini", "sektion3", "pw","falsch ")Then
MsgBox(64, "Information","klappt" )
Else
MsgBox(64, "Information","klappt nicht" )
EndIf
$sUsername = $handle
$sPassword = $handle1
$sUrl = "http://www.schueler.cc/"
$oIE = _IECreate ($sUrl)
$oHWND = _IEPropertyGet($oIE, "hwnd")
WinSetState ($oHWND, "", @SW_MAXIMIZE )
$oForm = _IEFormGetCollection ($oIE, 2)
$oUsername = _IEFormElementGetObjByName ($oForm, "email")
$oPassword = _IEFormElementGetObjByName ($oForm, "passwort")
_IEFormElementSetValue ($oUsername, $sUsername)
_IEFormElementSetValue ($oPassword, $sPassword)$oSubmit = _IEGetObjByName ($oIE, "button_login_login")
[/autoit] [autoit][/autoit] [autoit]
_IEAction ($oSubmit, "click")Exit
[/autoit] [autoit][/autoit] [autoit]
EndFunc
Func benutzer ()
If Not FileExists("C:\\schueler.ini") Then
_FileCreate("C:\\schueler.ini")
EndIf
$email= InputBox("email","Bitte email eintragen","")IniWrite("C:\\schueler.ini", "sektion2", "email",$email)
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]$password= InputBox("email","Bitte password eintragen","")
[/autoit] [autoit][/autoit] [autoit]IniWrite("C:\\schueler.ini", "sektion3", "pw",$password)
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]EndFunc
[/autoit] [autoit][/autoit] [autoit][/autoit] -
wenn du auf die überprüfung in der gui verzichtes würde es auf jeden konto bei http://www.schueler.cc gehen,
must du nur zeile 40 bis44 löschen -
höre auf zu jammern, hier habe die checkbox aus deiner guiendfernt, du brauchst nurfür a deine emailadresse und für b dein password
in zeile 40 ändernSpoiler anzeigen
[autoit]
[/autoit] [autoit][/autoit] [autoit]
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GuiEdit.au3>
#include <IE.au3>
Opt("MouseCoordMode",0)
#Region ### START Koda GUI section ### Form=d:\marcel\sonstiges\skripte\autoit\forms\schueler.kxf
$Form1_1 = GUICreate("Schüler.CC", 205, 410, 325, 202)
GUISetBkColor(0xFFFFFF)
$Pic1 = GUICtrlCreatePic("C:\Users\Marcel\Desktop\logo.bmp", 16, 8, 169, 89, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Group1 = GUICtrlCreateGroup("Login", 9, 99, 177, 241)
$Label1 = GUICtrlCreateLabel("E-Mail:", 16, 120, 36, 17)
$Label2 = GUICtrlCreateLabel("Passwort:", 16, 160, 50, 17)
GUICtrlCreateInput("", 16, 136, 161, 21)
GUICtrlCreateInput("", 16, 176, 161, 21)
;$Checkbox1 = GUICtrlCreateCheckbox("eingeloggt bleiben", 24, 200, 105, 17)
$Button1 = GUICtrlCreateButton("Login", 16, 224, 49, 21, $WS_GROUP)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$StatusBar1 = _GUICtrlStatusBar_Create($Form1_1)
_GUICtrlStatusBar_SetMinHeight($StatusBar1, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###While 1
[/autoit] [autoit][/autoit] [autoit]
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Case $Button1
daten()
Exit
EndSwitch
WEnd
Exit
Func daten()
$handle = ControlGetText ( "Schüler.CC", "", "[CLASS:Edit; INSTANCE:1]" );hole daten feld1
;MsgBox(64, "Information",$handle );test feld1
$handle1 = ControlGetText ( "Schüler.CC", "", "[CLASS:Edit; INSTANCE:2]" );hole daten feld2
;MsgBox(64, "Information",$handle1 );test feld2
if $handle="a" And $handle1="b" Then;hier für a deine emailadresse und für b dein password
MsgBox(64, "Information","klappt" )
Else
MsgBox(64, "Information","klappt nicht" )
EndIf
$sUsername = $handle
$sPassword = $handle1
$sUrl = "http://www.schueler.cc/"
$oIE = _IECreate ($sUrl)
$oHWND = _IEPropertyGet($oIE, "hwnd")
WinSetState ($oHWND, "", @SW_MAXIMIZE )
$oForm = _IEFormGetCollection ($oIE, 2)
$oUsername = _IEFormElementGetObjByName ($oForm, "email")
$oPassword = _IEFormElementGetObjByName ($oForm, "passwort")
_IEFormElementSetValue ($oUsername, $sUsername)
_IEFormElementSetValue ($oPassword, $sPassword)$oSubmit = _IEGetObjByName ($oIE, "button_login_login")
[/autoit] [autoit][/autoit] [autoit]
_IEAction ($oSubmit, "click")Exit
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit]
EndFunc -
bite schon must du nur anpassen, das login muste noch sellber machen
Spoiler anzeigen
[autoit]
[/autoit] [autoit][/autoit] [autoit]
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <GuiStatusBar.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GuiEdit.au3>
#Region ### START Koda GUI section ### Form=d:\marcel\sonstiges\skripte\autoit\forms\schueler.kxf
$Form1_1 = GUICreate("Schüler.CC", 205, 410, 325, 202)
GUISetBkColor(0xFFFFFF)
$Pic1 = GUICtrlCreatePic("C:\Users\Marcel\Desktop\logo.bmp", 16, 8, 169, 89, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Group1 = GUICtrlCreateGroup("Login", 9, 99, 177, 241)
$Label1 = GUICtrlCreateLabel("E-Mail:", 16, 120, 36, 17)
$Label2 = GUICtrlCreateLabel("Passwort:", 16, 160, 50, 17)
GUICtrlCreateInput("", 16, 136, 161, 21)
GUICtrlCreateInput("", 16, 176, 161, 21)
$Checkbox1 = GUICtrlCreateCheckbox("eingeloggt bleiben", 24, 200, 105, 17)
$Button1 = GUICtrlCreateButton("Login", 16, 224, 49, 21, $WS_GROUP)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$StatusBar1 = _GUICtrlStatusBar_Create($Form1_1)
_GUICtrlStatusBar_SetMinHeight($StatusBar1, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###While 1
[/autoit] [autoit][/autoit] [autoit][/autoit]
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Case $Button1
daten()
Exit
EndSwitch
WEnd
Exit
Func daten()
$handle = ControlGetText ( "Schüler.CC", "", "[CLASS:Edit; INSTANCE:1]" );hole daten feld1
;MsgBox(64, "Information",$handle );test feld1
$handle1 = ControlGetText ( "Schüler.CC", "", "[CLASS:Edit; INSTANCE:2]" );hole daten feld2
;MsgBox(64, "Information",$handle1 );test feld2
if $handle="a" And $handle1="b" Then;hier für a deine emailadresse und für b dein password
MsgBox(64, "Information","klappt" )
Else
MsgBox(64, "Information","klappt nicht" )
EndIf
EndFunc -
benutze bitte bei nächtesmal das autoit zeichen zum ein fügen von deinen code
-
schau dir mal _GUICtrlEdit mü+ste damit gehen
Spoiler anzeigen
[autoit]
[/autoit] [autoit][/autoit] [autoit]
Funktionsreferenz
_GUICtrlEdit_GetText
--------------------------------------------------------------------------------Liest den Text eines Edit-Steuerelementes aus
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]#Include <GuiEdit.au3>
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
_GUICtrlEdit_GetText($hWnd)Parameter
[/autoit] [autoit][/autoit] [autoit]$hWnd Handle des Steuerelements
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]Rückgabewert
[/autoit] [autoit][/autoit] [autoit]Erfolg: der Text als String vom Edit-Steuerelement
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
Fehler: Leerer StringBemerkungen
[/autoit] [autoit][/autoit] [autoit]Nichts.
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]Verwandte Funktionen
[/autoit] [autoit][/autoit] [autoit]_GUICtrlEdit_SetText, _GUICtrlEdit_AppendText
[/autoit] [autoit][/autoit] [autoit]Beispiel
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]#include <GuiEdit.au3>
[/autoit] [autoit][/autoit] [autoit]Opt('MustDeclareVars', 1)
[/autoit] [autoit][/autoit] [autoit]$Debug_Ed = False ; Check ClassName being passed to Edit functions, set to True and use a handle to another control to see it work
[/autoit] [autoit][/autoit] [autoit]_Example_Internal()
[/autoit] [autoit][/autoit] [autoit]
_Example_External()Func _Example_Internal()
[/autoit] [autoit][/autoit] [autoit]
Local $hGUI, $hEdit; Create GUI
[/autoit] [autoit][/autoit] [autoit]
$hGUI = GUICreate("(Internal) Edit Get Text", 400, 300)
$hEdit = GUICtrlCreateEdit("", 2, 2, 394, 268)
GUISetState(); Set Text
[/autoit] [autoit][/autoit] [autoit]
_GUICtrlEdit_SetText ($hEdit, "This is a test" & @CRLF & "Another Line" & @CRLF & "Append to the end?"); Get Text
[/autoit] [autoit][/autoit] [autoit]
MsgBox(4160, "Information", _GUICtrlEdit_GetText ($hEdit))
; Loop until user exits
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
GUIDelete()
EndFunc ;==>_Example_InternalFunc _Example_External()
[/autoit] [autoit][/autoit] [autoit]
Local $hGUI, $hEdit; Create GUI
[/autoit] [autoit][/autoit] [autoit]
$hGUI = GUICreate("(External) Edit Get Text", 400, 300)
$hEdit = _GUICtrlEdit_Create ($hGUI, "", 2, 2, 394, 268)
GUISetState(); Set Text
[/autoit] [autoit][/autoit] [autoit]
_GUICtrlEdit_SetText ($hEdit, "This is a test" & @CRLF & "Another Line" & @CRLF & "Append to the end?"); Get Text
[/autoit] [autoit][/autoit] [autoit]
MsgBox(4160, "Information", _GUICtrlEdit_GetText ($hEdit)); Loop until user exits
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit]
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
GUIDelete()
EndFunc ;==>_Example_External -
soll das in deiner gui oder im browser fenster geprüft werden
-
haloo hiee kleines beispiel für ein logen
[autoit]
[/autoit][autoit][/autoit][autoit][/autoit]
#include <IE.au3>
Opt("MouseCoordMode",0)
$sUsername = " "
$sPassword = " "
$sUrl = "deineseite"
$oIE = _IECreate ($sUrl)
$oHWND = _IEPropertyGet($oIE, "hwnd")
WinSetState ($oHWND, "", @SW_MAXIMIZE )
$oForm = _IEFormGetCollection ($oIE, 0)
$oUsername = _IEFormElementGetObjByName ($oForm, "username")
$oPassword = _IEFormElementGetObjByName ($oForm, "password")
_IEFormElementSetValue ($oUsername, $sUsername)
_IEFormElementSetValue ($oPassword, $sPassword)
_IEFormSubmit ($oForm)
das must du nur für dich anpassen oder die url posten