diff --git a/example/main.go b/example/main.go index ef53517..20a82fd 100644 --- a/example/main.go +++ b/example/main.go @@ -169,6 +169,8 @@ func main() { mdata := robotgo.GetActive() //Get current Window Active hwnd := robotgo.GetHandle() //Get current Window Handle fmt.Println("hwnd---", hwnd) + bhwnd := robotgo.GetBHandle() //Get current Window Handle + fmt.Println("bhwnd---", bhwnd) title := robotgo.GetTitle() //Get current Window title fmt.Println("title-----", title) robotgo.CloseWindow() //close current Window diff --git a/robotgo.go b/robotgo.go index 9e8bcb4..0735e4c 100644 --- a/robotgo.go +++ b/robotgo.go @@ -40,7 +40,7 @@ import ( ) const ( - version string = "v0.42.0.240,Mount Ngauruhoe!" + version string = "v0.42.0.241,Mount Ngauruhoe!" ) //GetVersion get version