mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Update key example code
This commit is contained in:
parent
2faf30a559
commit
c86926da97
@ -19,14 +19,14 @@ import (
|
||||
|
||||
func typeStr() {
|
||||
// importing "Hello World"
|
||||
robotgo.TypeStr("Hello World!")
|
||||
robotgo.TypeStr("Hello World!", 1.0)
|
||||
|
||||
robotgo.TypeStr("だんしゃり")
|
||||
robotgo.MicroSleep(10.2)
|
||||
|
||||
robotgo.TypeStr("Hi galaxy. こんにちは世界.")
|
||||
robotgo.Sleep(2)
|
||||
robotgo.TypeString("So, hi, bye!")
|
||||
// robotgo.TypeString("So, hi, bye!")
|
||||
robotgo.MilliSleep(100)
|
||||
|
||||
ustr := uint32(robotgo.CharCodeAt("So, hi, bye!", 0))
|
||||
@ -85,7 +85,7 @@ func keyToggle() {
|
||||
}
|
||||
|
||||
func cilp() {
|
||||
robotgo.TypeString("en")
|
||||
// robotgo.TypeString("en")
|
||||
|
||||
// write string to clipboard
|
||||
robotgo.WriteAll("テストする")
|
||||
|
Loading…
Reference in New Issue
Block a user