![Waving :wave:](./images/smilies/icon_wave.gif)
need help with this easy code,
------------------------------------------------------------------------------------------------------>*.ahk ScreenShot ------------------------------------------------------------------------------------------------------>*.ahk Code
Code: Select all
Gui, Add, GroupBox, x2 y29 w200 h70, GUI Test
Gui, Add, Text, x12 y49 w90 h20 Center Border, Choose a value
Gui, Add, Edit, x102 y49 w90 h20 Number Center vInputValue
Gui, Add, Radio, x12 y69 w90 h20 vHigherVar gChooseLable, Higher than 10
Gui, Add, Radio, x102 y69 w100 h20 vLowerVar, Lower than 10
Gui, Show
Return
Esc:
GuiClose:
ExitApp
ChooseLable:
Gui, 1:Submit, Nohide
;Get the InputValue without a pressing a button
GuiControlGet, InputValue
if(InputValue > 0)
{
;Choose Radio Higher than 10
}
else if(InputValue < 0)
{
;Choose Radio Lower than 10
}
return
------------------------------------------------------------------------------------------------------>*.ahk Note
Is there a text editor to show the code the same as this forum, i like the way it looks here.