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
364f192178
commit
24eeb2765f
@ -141,9 +141,9 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
robotgo.TypeString("Hello World")
|
||||
robotgo.TypeString("测试")
|
||||
robotgo.TypeStr("Hello World")
|
||||
robotgo.TypeStr("测试")
|
||||
robotgo.TypeString("测试")
|
||||
|
||||
robotgo.TypeStr("山达尔星新星军团, galaxy. こんにちは世界.")
|
||||
robotgo.Sleep(1)
|
||||
@ -179,6 +179,7 @@ import (
|
||||
func main() {
|
||||
x, y := robotgo.GetMousePos()
|
||||
fmt.Println("pos: ", x, y)
|
||||
|
||||
color := robotgo.GetPixelColor(100, 200)
|
||||
fmt.Println("color---- ", color)
|
||||
}
|
||||
|
@ -139,9 +139,9 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
robotgo.TypeString("Hello World")
|
||||
robotgo.TypeString("测试")
|
||||
robotgo.TypeStr("Hello World")
|
||||
robotgo.TypeStr("测试")
|
||||
robotgo.TypeString("测试")
|
||||
|
||||
robotgo.TypeStr("山达尔星新星军团, galaxy. こんにちは世界.")
|
||||
robotgo.Sleep(1)
|
||||
@ -177,6 +177,7 @@ import (
|
||||
func main() {
|
||||
x, y := robotgo.GetMousePos()
|
||||
fmt.Println("pos: ", x, y)
|
||||
|
||||
color := robotgo.GetPixelColor(100, 200)
|
||||
fmt.Println("color----", color)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user