Update README.md

This commit is contained in:
vcaesar 2019-02-12 09:12:48 -04:00
parent 364f192178
commit 24eeb2765f
2 changed files with 6 additions and 4 deletions

View File

@ -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)
}

View File

@ -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)
}