Code: Select all
If GetKeyState("CapsLock","T") {
SetCapsLockState Off
CLRevert:=1
}
Send % Clipboard
If (CLRevert)
SetCapsLockState On
So ... is possible make it easier in AHK_L !?
Code: Select all
If GetKeyState("CapsLock","T") {
SetCapsLockState Off
CLRevert:=1
}
Send % Clipboard
If (CLRevert)
SetCapsLockState On
In Command prompt I can not using Ctrl+V (In default CMD)
Code: Select all
14 03A i d 0.50 CapsLock
14 03A i u 0.00 CapsLock
54 014 i d 0.00 t
54 014 i u 0.02 t
45 012 i d 0.03 e
45 012 i u 0.01 e
53 01F i d 0.03 s
53 01F i u 0.01 s
54 014 i d 0.03 t
54 014 i u 0.02 t
14 03A i d 0.03 CapsLock
14 03A i u 0.00 CapsLock
Oh my god ... you really help me out...Nextron wrote:Send should take case of this by itself. The key history of Send test while CapsLock is on is:It turns CapsLock off and on by itself. So you need to figure out why it doesn't for you. Are you using the most recent AHK version (not that I think it was ever any different), are you running multiple scripts, are you using other keyboard driver/software?Code: Select all
14 03A i d 0.50 CapsLock 14 03A i u 0.00 CapsLock 54 014 i d 0.00 t 54 014 i u 0.02 t 45 012 i d 0.03 e 45 012 i u 0.01 e 53 01F i d 0.03 s 53 01F i u 0.01 s 54 014 i d 0.03 t 54 014 i u 0.02 t 14 03A i d 0.03 CapsLock 14 03A i u 0.00 CapsLock