mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
Update example
This commit is contained in:
parent
85377986eb
commit
de60d4d88b
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user