From 85b0b721a06ddd38dc5e8f7e9c08387ceae7f53a Mon Sep 17 00:00:00 2001 From: vCaesar Date: Thu, 9 Feb 2017 19:04:19 +0800 Subject: [PATCH] Update example --- example/main.go | 2 ++ robotgo.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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