mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-06 16:53:56 +00:00
Update example
This commit is contained in:
parent
d2de9b923c
commit
85b0b721a0
@ -169,6 +169,8 @@ func main() {
|
|||||||
mdata := robotgo.GetActive() //Get current Window Active
|
mdata := robotgo.GetActive() //Get current Window Active
|
||||||
hwnd := robotgo.GetHandle() //Get current Window Handle
|
hwnd := robotgo.GetHandle() //Get current Window Handle
|
||||||
fmt.Println("hwnd---", hwnd)
|
fmt.Println("hwnd---", hwnd)
|
||||||
|
bhwnd := robotgo.GetBHandle() //Get current Window Handle
|
||||||
|
fmt.Println("bhwnd---", bhwnd)
|
||||||
title := robotgo.GetTitle() //Get current Window title
|
title := robotgo.GetTitle() //Get current Window title
|
||||||
fmt.Println("title-----", title)
|
fmt.Println("title-----", title)
|
||||||
robotgo.CloseWindow() //close current Window
|
robotgo.CloseWindow() //close current Window
|
||||||
|
@ -40,7 +40,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
version string = "v0.42.0.240,Mount Ngauruhoe!"
|
version string = "v0.42.0.241,Mount Ngauruhoe!"
|
||||||
)
|
)
|
||||||
|
|
||||||
//GetVersion get version
|
//GetVersion get version
|
||||||
|
Loading…
Reference in New Issue
Block a user