Home > other >  AHK code for help
AHK code for help

Time:11-19


Cur:=1
Max:=8

The First () {
Global cur
Cur:=1
T:="#" cur
The Send % t
}

The Second () {
Global cur
Cur:=2
T:="#" cur
The Send % t
}


Third () {
Global cur
Cur:=3
T:="#" cur
The Send % t

}

Next () {
Global cur, Max
Cur:=cur + 1
; MsgBox % "cur" cur "Max" Max
If floor (cur) & gt; Floor (Max)
{
Cur:=1
}
T:="#" cur
The Send % t
}

The Prev () {
Global cur, Max
Cur: 1
=cur -If a cur=0
{
Cur:=Max
}
T:="#" cur
The Send % t
}

; Quick start first window
7: : First ()

; Quick start the second window
8: : Second ()

; Quick start the third window
9: : Third ()

This code starts, and input method have conflict, when typing, according to the number, will automatically start button, how can we avoid the input method, make the button under normal operation, when the input method for ordinary digital keys
  • Related