From 9dcffd344a1b9d5233e4005aa0e540ca04a5497c Mon Sep 17 00:00:00 2001 From: vcaesar <vzvway@gmail.com> Date: Thu, 18 Jan 2018 21:46:35 +0800 Subject: [PATCH] Update README.md and fix link --- README.md | 5 +++++ README_zh.md | 5 +++++ examples/README.md | 7 ++++++- 3 files changed, 16 insertions(+), 1 deletion(-) 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