mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
add AddMousePos example code
This commit is contained in:
parent
b37868f1ee
commit
5c7cf62d54
1 changed files with 6 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue