Update README.md and fix link

This commit is contained in:
vcaesar 2018-01-18 21:46:35 +08:00
parent a2ac46c3be
commit 9dcffd344a
3 changed files with 16 additions and 1 deletions

View File

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

View File

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

View File

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