Update example

This commit is contained in:
vCaesar 2017-01-18 21:13:26 +08:00
parent 85377986eb
commit de60d4d88b
2 changed files with 3 additions and 2 deletions

View File

@ -151,7 +151,8 @@ func main() {
fmt.Println("ok@@@", "ok")
}
robotgo.ShowAlert("hello", "robotgo", "Ok", "Cancel")
// robotgo.GetPID()
pid := robotgo.GetPID() //Get the current process id
fmt.Println("pid----", pid)
mdata := robotgo.GetActive() //Get current Window Active
hwnd := robotgo.GetHandle() //Get current Window Handle
fmt.Println("hwnd---", hwnd)

View File

@ -39,7 +39,7 @@ import (
)
const (
version string = "v0.42.0.221,Mount Ngauruhoe!"
version string = "v0.42.0.222,Mount Ngauruhoe!"
)
//GetVersion get version