You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
robotgo.EventHook(hook.KeyDown, []string{"command", "m"}, func(e hook.Event) {
// soemtimes trigger by only m direct ????expectedrawcode:=hook.KeychartoRawcode("m")
println(expectedrawcode)
ife.Rawcode==expectedrawcode {
timespeakImplementation()
fmt.Println("timespeak execued")
//robotgo.EventEnd()
}
})
Description
hey,i need help,thanks.In the code above,i use robotgo detecting keydown ,when the key windows+m pressed,then call a function,but Occasionally, even without pressing the Windows key, just pressing the M key triggers the event,i found this when typing characters in the text input boxes of other programs, use the built-in input method of Windows 10. This has happened many times. Why is this? Is it an issue with how I'm calling the code, or is it a bug in robotgo?tanks again
the full code is here github:https://github.com/GodGavin/winsleep/blob/master/main.go
...
The text was updated successfully, but these errors were encountered:
Description
hey,i need help,thanks.In the code above,i use robotgo detecting keydown ,when the key windows+m pressed,then call a function,but Occasionally, even without pressing the Windows key, just pressing the M key triggers the event,i found this when typing characters in the text input boxes of other programs, use the built-in input method of Windows 10. This has happened many times. Why is this? Is it an issue with how I'm calling the code, or is it a bug in robotgo?tanks again
the full code is here github:https://github.com/GodGavin/winsleep/blob/master/main.go
...
The text was updated successfully, but these errors were encountered: