Code: Select all
$SC028::
While getKeyState("SC028","P")!=0
{
sleep 1
}
If (A_TimeSinceThisHotkey <200)
sendInput, {SC028}
return
(that's why I've christened it "smbs' problem" ) when I use the code above.smbs'
Here's the conundrum. How to lose the typo?
Possible but not desirable workaround:
Dependable No-typo solution without sending extra keys (Cause I have one that sends SC028 instantly than deletes it if hold-time is long enough, but it messes the selection (selected text) anyway ) .
ps. I know that separating actions say on !SC028 would solve the problem, and I've already done it for the time being. But it's not a solution.