diff --git a/README.md b/README.md index 48717a4..05dfd9f 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,11 @@ import ( func main() { robotgo.TypeString("Hello World") + robotgo.TypeString("测试") + robotgo.TypeStr("测试") + ustr := uint32(robotgo.CharCodeAt("测试", 0)) + robotgo.UnicodeType(ustr) + robotgo.KeyTap("enter") robotgo.TypeString("en") robotgo.KeyTap("i", "alt", "command") diff --git a/README_zh.md b/README_zh.md index e2d6c34..d2a7cd2 100644 --- a/README_zh.md +++ b/README_zh.md @@ -134,6 +134,11 @@ import ( func main() { robotgo.TypeString("Hello World") + robotgo.TypeString("测试") + robotgo.TypeStr("测试") + ustr := uint32(robotgo.CharCodeAt("测试", 0)) + robotgo.UnicodeType(ustr) + robotgo.KeyTap("enter") robotgo.TypeString("en") robotgo.KeyTap("i", "alt", "command") diff --git a/examples/README.md b/examples/README.md index c998b78..0f7c188 100644 --- a/examples/README.md +++ b/examples/README.md @@ -35,6 +35,11 @@ import ( func main() { robotgo.TypeString("Hello World") + robotgo.TypeString("测试") + robotgo.TypeStr("测试") + ustr := uint32(robotgo.CharCodeAt("测试", 0)) + robotgo.UnicodeType(ustr) + robotgo.KeyTap("enter") robotgo.TypeString("en") robotgo.KeyTap("i", "alt", "command") @@ -68,7 +73,7 @@ func main() { } ``` -#### [Bitmap](https://github.com/go-vgo/robotgo/blob/master/examples/bitmap/mian.go) +#### [Bitmap](https://github.com/go-vgo/robotgo/blob/master/examples/bitmap/main.go) ```Go package main