When I select 0 ~ 6 in the DropDownList and press the button Output, I can get 0 ~ 6. I would like to modify the OnClick_No0 code.
How can I get 1 ~ 7, when I select 0 ~ 6 then press the button OnClick_No0?
Code: Select all
Gui, Add, DropDownList, cBlack -Theme x60 y167 w50 h200 vT1, R||0|1|2|3|4|5|6
OnClick_No1:
Gui, Submit, NoHide
WinActivate, ahk_id %k_ID%
Clipboard=%f1_row1%%T1%{ENTER}
SendInput %f1_row1%%T1%{ENTER}
return
Code: Select all
I tried to modify the code as below, but this is not working.
if %T1% <> R
{
Clipboard=%T1%+1
SendInput %T1%+1
}