mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
md change
This commit is contained in:
parent
4b46920f41
commit
8889ee4d11
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