a bit complicated, I use CapsLock trigger in many other programs
no other way to check if the capsLock light is on? I just want the caps light to go out
Using the method below, it also no effect
ifk(K 1) key K
ifk(K) key- K
I use the following code to quickly add single or double quotes to the text inside the edit box
only one small problem, Unable to turn off CapsLock
case 401 ;;CapsLock
key ESH
_s.getsel
_s.trim
if !_s.beg("'") and !_s.beg("''")
_s=F"'{_s}'"
_s.setsel
else if _s.beg("'")
_s.findreplace("'" "''")
_s.setsel
else if _s.beg("''")
_s.findreplace("''" "")
_s.setsel
key K ;;CapsLock turn off
no other way to check if the capsLock light is on? I just want the caps light to go out
Using the method below, it also no effect
ifk(K 1) key K
ifk(K) key- K
I use the following code to quickly add single or double quotes to the text inside the edit box
only one small problem, Unable to turn off CapsLock
case 401 ;;CapsLock
key ESH
_s.getsel
_s.trim
if !_s.beg("'") and !_s.beg("''")
_s=F"'{_s}'"
_s.setsel
else if _s.beg("'")
_s.findreplace("'" "''")
_s.setsel
else if _s.beg("''")
_s.findreplace("''" "")
_s.setsel
key K ;;CapsLock turn off