go-vgo / robotgo

RobotGo, Go Native cross-platform RPA and GUI automation @vcaesar
Apache License 2.0
9.45k stars 859 forks source link

Disable warning show #620

Closed musicyin closed 8 months ago

musicyin commented 8 months ago

My example code is as follows:

for true {
    robotgo.Move(1, 1)
    robotgo.Click("left")
    time.Sleep(25* time.Millisecond)
    robotgo.KeyTap("a", "ctrl")
    robotgo.TypeStr("TEST")
    time.Sleep(25* time.Millisecond)
    robotgo.Move(2, 2)
    robotgo.Click("left")
    time.Sleep(25* time.Millisecond)
}

Description

The following warning will appear when running for a long time: process_button_pressed [322]: Click count overflow detected! ...

Info

vcaesar commented 8 months ago

This log is in gohook not robot.