Well, im trying to create a increase /decrease system using a variable in my gui, but no results. Someone can tell me what is the problem, please?
Code: Select all
Gui, ProgramGui: Font, s10 bolda Verdana
Gui, ProgramGui: Color, Black
Gui, ProgramGui: +AlwaysOnTop
Gui, ProgramGui: add, text, cWhite, Feito por: Programador da NASA
Gui, ProgramGui: add, text, cWhite,PgUp Pausa CTRL+PgUp Ativa
Gui, ProgramGui: add, button, gPlay, Ativar
Gui, ProgramGui: add, button, gFechar, Fechar
Gui, ProgramGui: add, text, x125 y60 w135 h30 cWhite, Velocidade recomendada: 450
Gui, ProgramGui: add, edit, x71 y62 w50 h25 vTempo
Gui, ProgramGui: show, w300 h230, PvP Auto da NASA
Return
Play:
Variable = 1
While Variable = 1
{
Gui, ProgramGui: Submit, NoHide
Send, {LControl Down}{RButton Down}{2 Down}
Sleep, 0.2
Send, {2 Down}
Sleep, 0.2
Send, {3 Down}
Sleep, 0.5
Send, {LButton Down}
Sleep, 50
Send, {LButton Up}
Sleep, 2
Send, {LButton Down}
Sleep, 35
Send, {LButton Up}
Sleep, %Tempo%
Send, {3 Up}
Sleep, 2
}
Return
Rel:
Reload
Return
Fechar:
ExitApp
Return
LoginGuiClose:
ExitApp
Return
ProgramGuiClose:
ExitApp
Return
WheelUp::
%Tempo% = ++1000
Return
^PgUp::Pause
Return
Pause::^PgUp
Return
^PgDn:: Send, {LControl Up}{RButton Up}{LButton Up}{2 Up}{3 Up}
Return