Update README.md

This commit is contained in:
vcaesar 2019-02-13 07:11:32 -04:00
parent 24eeb2765f
commit ca56f9d5e6
2 changed files with 3 additions and 1 deletions

View File

@ -154,6 +154,7 @@ func main() {
robotgo.KeyTap("enter")
robotgo.TypeString("en")
robotgo.KeyTap("i", "alt", "command")
arr := []string{"alt", "command"}
robotgo.KeyTap("i", arr)
@ -179,7 +180,7 @@ import (
func main() {
x, y := robotgo.GetMousePos()
fmt.Println("pos: ", x, y)
color := robotgo.GetPixelColor(100, 200)
fmt.Println("color---- ", color)
}

View File

@ -152,6 +152,7 @@ func main() {
robotgo.KeyTap("enter")
robotgo.TypeString("en")
robotgo.KeyTap("i", "alt", "command")
arr := []string{"alt", "command"}
robotgo.KeyTap("i", arr)