Тема: AHK: Button
Привет всем. Создал скрипт но 2 ой элемент управления не высвечивается на экран GUI, его нет вообще.(ButtonLOGIN)
В чём проблема?
gui, show, w400 h400
gui, add, Button, h40 w80, GAVNUK
Return
ButtonGAVNUK:
sleep 100
DllCall("SetCursorPos", int, 710, int, 30)
sleep 100
MouseClick left, , , 3
sleep 10
Setkeydelay 10, 10
sleep 3000
MouseClick, left, 830, 440, 2
sleep 100
Mouseclick, left, 850, 750
sleep 1000
SendMessage, 0x50,, 0x4090409,, A ; английский
Send Lopol220
Sleep 100
Send {enter}
Sleep 100
Send Lampohka220
Sleep 100
Send {enter}
Sleep 5000
Send {enter}
Setkeydelay 0, 10
Return
Gui, add, Button, w40 h70, LOGIN ;вот это не работает
Return
ButtonLOGIN:
MouseClick, left, 830, 440, 2
sleep 100
Mouseclick, left, 850, 750
sleep 100
Send Lopol220
Sleep 100
Send {enter}
sleep 100
send Lampohka220
sleep 10
Send {enter}
Sleep 5000
send {enter}
return

