Weilong Wang

Results 17 comments of Weilong Wang

Just try this https://github.com/go-vgo/robotgo/issues/552#issuecomment-1664935423 Or https://github.com/go-vgo/robotgo/issues/582#issuecomment-1670531679

Because that's how `go get` is defined. ```bash # Upgrade or downgrade to a specific version of a module. $ go get golang.org/x/[email protected] # Update to the commit on the...

Because the robotgo version does not match its dependency versions. Run `go mod graph` check it. Re download the `go mod` dependencies will solve it. Just like this: 1. Update...

It doesn't matter which go version, try execute steps 2 and 3.

> I don't have the second require in my `go.mod` file, so step 2 is not possible. Run `go mod graph` check the dependencies, then find out the mismatching package,...

Here are some tests. ```go bit := robotgo.CaptureScreen(100, 100, 500, 400) bit1 := bitmap.GetPortion(bit, 0, 0, 500, 400) // It's ok bit2 := bitmap.GetPortion(bit, 1, 1, 499, 399) // Assertion...

Try `robotgo.MoveSmooth(300, 300, 0.01, 0.03, 1)`, it will move very fast. You can use it like this `robotgo.MoveSmooth(x, y, lowSpeed, hightSpeed, mouseDelay)`: - lowSpeed & hightSpeed, the mouse will move...