mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 02:08:33 +00:00
Update README.md
This commit is contained in:
parent
24eeb2765f
commit
ca56f9d5e6
2 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue