Weilong Wang
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...
Test `gcc -v` and `go env | grep CGO_ENABLED` in your enviroment. I have met the same problems. Reason: - `GCC` is not installed - Or `GCC` hasn't been added...
Just try this https://github.com/go-vgo/robotgo/issues/552#issuecomment-1664935423 Or https://github.com/go-vgo/robotgo/issues/582#issuecomment-1670531679
最新版0.6.2,json[1][2][3]这种形式是数组,json.1.2.3这种形式是对象。 自己修改的话,看下面代码,修改`parsePathByElm()`方法。 https://github.com/wilon/JSON-handle/blob/365f0cca815aed70d61072cfb0e61a7a649a3b45/JSON-handle/js/jsonH/nav.js#L138-L139 ------ 0.6.2 测试: 