mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-05 16:23:55 +00:00
Update README.md and fix link
This commit is contained in:
parent
a2ac46c3be
commit
9dcffd344a
@ -135,6 +135,11 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
robotgo.TypeString("Hello World")
|
robotgo.TypeString("Hello World")
|
||||||
|
robotgo.TypeString("测试")
|
||||||
|
robotgo.TypeStr("测试")
|
||||||
|
ustr := uint32(robotgo.CharCodeAt("测试", 0))
|
||||||
|
robotgo.UnicodeType(ustr)
|
||||||
|
|
||||||
robotgo.KeyTap("enter")
|
robotgo.KeyTap("enter")
|
||||||
robotgo.TypeString("en")
|
robotgo.TypeString("en")
|
||||||
robotgo.KeyTap("i", "alt", "command")
|
robotgo.KeyTap("i", "alt", "command")
|
||||||
|
@ -134,6 +134,11 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
robotgo.TypeString("Hello World")
|
robotgo.TypeString("Hello World")
|
||||||
|
robotgo.TypeString("测试")
|
||||||
|
robotgo.TypeStr("测试")
|
||||||
|
ustr := uint32(robotgo.CharCodeAt("测试", 0))
|
||||||
|
robotgo.UnicodeType(ustr)
|
||||||
|
|
||||||
robotgo.KeyTap("enter")
|
robotgo.KeyTap("enter")
|
||||||
robotgo.TypeString("en")
|
robotgo.TypeString("en")
|
||||||
robotgo.KeyTap("i", "alt", "command")
|
robotgo.KeyTap("i", "alt", "command")
|
||||||
|
@ -35,6 +35,11 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
robotgo.TypeString("Hello World")
|
robotgo.TypeString("Hello World")
|
||||||
|
robotgo.TypeString("测试")
|
||||||
|
robotgo.TypeStr("测试")
|
||||||
|
ustr := uint32(robotgo.CharCodeAt("测试", 0))
|
||||||
|
robotgo.UnicodeType(ustr)
|
||||||
|
|
||||||
robotgo.KeyTap("enter")
|
robotgo.KeyTap("enter")
|
||||||
robotgo.TypeString("en")
|
robotgo.TypeString("en")
|
||||||
robotgo.KeyTap("i", "alt", "command")
|
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
|
```Go
|
||||||
package main
|
package main
|
||||||
|
Loading…
Reference in New Issue
Block a user