Code: Select all
Iterations := 0 ; - amount of times it inputs
Gui EC: New, -Resize
Gui Font,, FixedSys
Gui Add, Text, hWndhTxtAutoclon x67 y0 w66 h20, Extraclick
Gui Font,, FixedSys
Gui Add, Button, x176 y25 w25 h25 gadd1, +1
Gui Add, Button, x-1 y25 w25 h25 gsub1, -1
Gui Add, CheckBox, x40 y30 w20 h15
Gui Add, Text, hWndhExtrainput x60 y28 w100 h19 +0x200, %Iterations%
Return
add1:
++Iterations
GuiControl,, hWndhExtrainput, %Iterations%
Return
sub1:
--Iterations
GuiControl,, hWndhExtrainput, %Iterations%
Return
ECGuiEscape:
ECGuiClose:
ExitApp
I've tried using the 3 ways (i know of) of finding the text and replacing it but none of them work. Setting the text to some random text also doesn't work either, does anyone know what i'm doing wrong?