diff --git a/README.md b/README.md index d3eaad2..3de7f36 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ import ( func main() { robotgo.TypeStr("Hello World") robotgo.TypeStr("だんしゃり", 1.0) - // robotgo.TypeString("テストする") + // robotgo.TypeStr("テストする") robotgo.TypeStr("Hi galaxy. こんにちは世界.") robotgo.Sleep(1) @@ -158,7 +158,7 @@ func main() { // robotgo.UnicodeType(ustr) robotgo.KeyTap("enter") - // robotgo.TypeString("en") + // robotgo.TypeStr("en") robotgo.KeyTap("i", "alt", "command") arr := []string{"alt", "command"} @@ -322,7 +322,7 @@ func main() { ## CrossCompiling -##### Windows64 to win32 +##### Windows64 to windows32 ```Go SET CGO_ENABLED=1 SET GOARCH=386 @@ -331,7 +331,7 @@ go build main.go #### Other to windows -##### Install Requirements (Ubuntu): +Install Requirements (Ubuntu): ```bash sudo apt install gcc-multilib sudo apt install gcc-mingw-w64 diff --git a/README_zh.md b/README_zh.md index 8bba16b..5938b4c 100644 --- a/README_zh.md +++ b/README_zh.md @@ -147,7 +147,7 @@ import ( func main() { robotgo.TypeStr("Hello World. Winter is coming!") robotgo.TypeStr("だんしゃり", 1.0) - // robotgo.TypeString("テストする") + // robotgo.TypeStr("テストする") robotgo.TypeStr("Hi galaxy. こんにちは世界.") robotgo.Sleep(1) @@ -156,7 +156,7 @@ func main() { // robotgo.UnicodeType(ustr) robotgo.KeyTap("enter") - // robotgo.TypeString("en") + // robotgo.TypeStr("en") robotgo.KeyTap("i", "alt", "command") arr := []string{"alt", "command"} @@ -319,7 +319,7 @@ func main() { ## CrossCompiling -##### Windows64 to win32 +##### Windows64 to windows32 ```Go SET CGO_ENABLED=1 SET GOARCH=386 @@ -328,14 +328,14 @@ go build main.go #### Other to windows -##### Install Requirements (Ubuntu): +Install Requirements (Ubuntu): ```bash sudo apt install gcc-multilib sudo apt install gcc-mingw-w64 sudo apt install libz-mingw-w64-dev ``` -##### Build the binary: +Build the binary: ```Go GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go build -x ./ diff --git a/examples/README.md b/examples/README.md index 4692a6c..e7ef069 100644 --- a/examples/README.md +++ b/examples/README.md @@ -36,13 +36,13 @@ import ( func main() { robotgo.TypeStr("Hello World") - // robotgo.TypeString("だんしゃり") + // robotgo.TypeStr("だんしゃり") robotgo.TypeStr("だんしゃり") // ustr := uint32(robotgo.CharCodeAt("だんしゃり", 0)) // robotgo.UnicodeType(ustr) robotgo.KeyTap("enter") - robotgo.TypeString("en") + robotgo.TypeStr("en") robotgo.KeyTap("i", "alt", "command") arr := []string{"alt", "command"} robotgo.KeyTap("i", arr) diff --git a/examples/key/main.go b/examples/key/main.go index 1fe27fa..1caec80 100644 --- a/examples/key/main.go +++ b/examples/key/main.go @@ -26,7 +26,7 @@ func typeStr() { robotgo.TypeStr("Hi galaxy. こんにちは世界.") robotgo.Sleep(2) - // robotgo.TypeString("So, hi, bye!") + // robotgo.TypeStr("So, hi, bye!") robotgo.MilliSleep(100) ustr := uint32(robotgo.CharCodeAt("So, hi, bye!", 0)) @@ -86,7 +86,7 @@ func keyToggle() { } func cilp() { - // robotgo.TypeString("en") + // robotgo.TypeStr("en") // write string to clipboard e := robotgo.WriteAll("テストする") diff --git a/test/main.go b/test/main.go index 30e8406..4640216 100644 --- a/test/main.go +++ b/test/main.go @@ -41,12 +41,12 @@ func aRobotgo() { color := robotgo.GetPixelColor(100, 200) fmt.Println("color@@@", color) - robotgo.TypeString("Hello World") + robotgo.TypeStr("Hello World") // robotgo.KeyTap("a", "control") robotgo.KeyTap("f1", "control") // robotgo.KeyTap("enter") // robotgo.KeyToggle("enter", "down") - robotgo.TypeString("en") + robotgo.TypeStr("en") abitmap := robotgo.CaptureScreen() fmt.Println("all...", abitmap)