mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-03 07:33:55 +00:00
32 lines
387 B
Markdown
32 lines
387 B
Markdown
#Robotgo
|
|
|
|
>Golang Desktop Automation. Control the mouse, keyboard, and read the screen.
|
|
|
|
RobotGo supports Mac, Windows, and Linux.
|
|
|
|
This is a work in progress.
|
|
|
|
##Installation:
|
|
go get github.com/go-vgo/robotgo
|
|
|
|
It's that easy!
|
|
|
|
|
|
##Examples:
|
|
|
|
###Mouse
|
|
|
|
```Go
|
|
package main
|
|
|
|
import (
|
|
. "fmt"
|
|
|
|
"github.com/go-vgo/robotgo"
|
|
)
|
|
|
|
func main() {
|
|
robotgo.ScrollMouse(10, "up")
|
|
}
|
|
```
|