The 'move' method's 'displayId' parameter
I want to manipulate the mouse on a specific monitor, including its position. I found this parameter in the 'move' function, but it doesn't seem to work or be processed. Am I missing something?
version: github.com/go-vgo/robotgo v1.0.0-rc1
Came to check here for the same reason. I really need this functionality but I think I will need to look outside of robotgo to get it.
In the meantime, you actually can use robotgo to do this. You just have to manually figure out the mouse position with something like:
robotgo.Move(1000, 2500)
I.e. keep increasing the numbers in the direction your cursor needs to go until it gets there. Not foolproof as a functional displayId would be but can work if you always know the positions in your display setup.
robotgo.Move(x, y+1080)