Здравствуйте! Решил написать авлогин, столкнулся с проблемой. Нужно чтобы я открывал этот автологин, вводил свой логин и пасс, запускал её, далее она делала вход и разделе Login & Pass вводила текст взятые с inputbox. Прошу помочь.
Вот код:
Вот код:
Код:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("AutoLogin by Disturbed", 202, 178, 192, 124)
$Start2 = GUICtrlCreateButton("Start 2", 104, 8, 91, 25)
$Start1 = GUICtrlCreateButton("Start 1", 8, 8, 91, 25)
$Exit = GUICtrlCreateButton("Exit", 8, 144, 187, 25)
$Login1 = GUICtrlCreateInput("Login", 8, 40, 89, 21)
$Password1 = GUICtrlCreateInput("Password", 8, 72, 89, 21)
$Login2 = GUICtrlCreateInput("Login", 104, 40, 89, 21)
$Password2 = GUICtrlCreateInput("Password", 104, 72, 89, 21)
$Prinuditelno1 = GUICtrlCreateLabel("Принуд.", 25, 105, 71, 17)
GUICtrlSetFont(-1, 9, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFF0000)
$ChekPrinuditelno1 = GUICtrlCreateCheckbox("ChekPrinuditelno1", 8, 105, 17, 17)
$Prinuditelno2 = GUICtrlCreateLabel("Принуд.", 121, 105, 71, 17)
GUICtrlSetFont(-1, 9, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFF0000)
$CheckPrinuditelno2 = GUICtrlCreateCheckbox("ChekPrinuditelno1", 104, 105, 17, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$msg = GUIGetMsg()
Select
Case $msg = $Start1
Case $msg = $Exit
Send("{Esc}")
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
EndSelect
WEnd