Update example

This commit is contained in:
vCaesar 2017-02-09 19:04:19 +08:00
parent d2de9b923c
commit 85b0b721a0
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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