mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-06 08:43:56 +00:00
md change
This commit is contained in:
parent
bdad082827
commit
d0ebd4d13c
25
README.md
25
README.md
@ -1,10 +1,31 @@
|
|||||||
#Robotgo
|
#Robotgo
|
||||||
|
|
||||||
Golang Desktop Automation. Control the mouse, keyboard, and read the screen.
|
>Golang Desktop Automation. Control the mouse, keyboard, and read the screen.
|
||||||
|
|
||||||
RobotGo supports Mac, Windows, and Linux.
|
RobotGo supports Mac, Windows, and Linux.
|
||||||
|
|
||||||
This is a work in progress.
|
This is a work in progress.
|
||||||
|
|
||||||
Installation:
|
##Installation:
|
||||||
go get github.com/go-vgo/robotgo
|
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")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user