mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-23 17:59:12 +00:00
Update README.md and fix link
This commit is contained in:
parent
a2ac46c3be
commit
9dcffd344a
3 changed files with 16 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue