mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 02:08:33 +00:00
Update README.md
This commit is contained in:
parent
1a19c22489
commit
07840dd448
2 changed files with 20 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -231,6 +231,16 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
fpid, err := robotgo.FindIds("Google")
|
||||
if err == nil {
|
||||
fmt.Println("pids...", fpid)
|
||||
}
|
||||
|
||||
isExist, err := robotgo.PidExists(100)
|
||||
if err == nil {
|
||||
fmt.Println("pid exists is", isExist)
|
||||
}
|
||||
|
||||
abool := robotgo.ShowAlert("test", "robotgo")
|
||||
if abool == 0 {
|
||||
fmt.Println("ok@@@", "ok")
|
||||
|
|
|
|||
10
README_zh.md
10
README_zh.md
|
|
@ -228,6 +228,16 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
fpid, err := robotgo.FindIds("Google")
|
||||
if err == nil {
|
||||
fmt.Println("pids...", fpid)
|
||||
}
|
||||
|
||||
isExist, err := robotgo.PidExists(100)
|
||||
if err == nil {
|
||||
fmt.Println("pid exists is", isExist)
|
||||
}
|
||||
|
||||
abool := robotgo.ShowAlert("test", "robotgo")
|
||||
if abool == 0 {
|
||||
fmt.Println("ok@@@", "ok")
|
||||
|
|
|
|||
Loading…
Reference in a new issue