add AddMousePos example code

This commit is contained in:
vcaesar 2019-03-09 08:58:54 -04:00
parent b37868f1ee
commit 5c7cf62d54

View File

@ -52,6 +52,12 @@ func addMouse() {
if ok {
fmt.Println("add mouse and move to 100,100 ...")
}
fmt.Println("--- Please move mosue to 100,100 ---")
ok = robotgo.AddMousePos(100, 100)
if ok {
fmt.Println(" move mouse to 100,100 ...")
}
}
func add() {