mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
Update README.md
This commit is contained in:
parent
24eeb2765f
commit
ca56f9d5e6
@ -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 New Issue
Block a user