mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Cleanup README.md
This commit is contained in:
parent
2fe1c266bb
commit
8fb24a222f
@ -197,7 +197,6 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
//Println("test")
|
||||
abool := robotgo.ShowAlert("test", "robotgo")
|
||||
if abool == 0 {
|
||||
Println("ok@@@", "ok")
|
||||
|
11
README_zh.md
11
README_zh.md
@ -87,14 +87,12 @@ sudo apt-get install libxkbcommon-dev
|
||||
package main
|
||||
|
||||
import (
|
||||
//. "fmt"
|
||||
|
||||
"github.com/go-vgo/robotgo"
|
||||
)
|
||||
|
||||
func main() {
|
||||
robotgo.ScrollMouse(10, "up")
|
||||
robotgo.MouseClick("left",true)
|
||||
robotgo.MouseClick("left", true)
|
||||
robotgo.MoveMouseSmooth(100, 200, 1.0, 100.0)
|
||||
}
|
||||
```
|
||||
@ -104,9 +102,7 @@ func main() {
|
||||
```Go
|
||||
package main
|
||||
|
||||
import (
|
||||
//. "fmt"
|
||||
|
||||
import (
|
||||
"github.com/go-vgo/robotgo"
|
||||
)
|
||||
|
||||
@ -196,13 +192,12 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
//Println("test")
|
||||
abool := robotgo.ShowAlert("test", "robotgo")
|
||||
if abool == 0 {
|
||||
Println("ok@@@", "ok")
|
||||
}
|
||||
|
||||
title:=robotgo.GetTitle()
|
||||
title := robotgo.GetTitle()
|
||||
Println("title@@@", title)
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user