mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
add more Window example
This commit is contained in:
parent
50b4b5c734
commit
2e9399a05f
@ -58,6 +58,12 @@ func window() {
|
||||
if len(fpid) > 0 {
|
||||
robotgo.ActivePID(fpid[0])
|
||||
|
||||
// Windows
|
||||
// hwnd := robotgo.FindWindow("google")
|
||||
// hwnd := robotgo.GetHWND()
|
||||
robotgo.MinWindow(fpid[0])
|
||||
robotgo.MaxWindow(fpid[0])
|
||||
|
||||
robotgo.Kill(fpid[0])
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ import (
|
||||
|
||||
const (
|
||||
// Version get the robotgo version
|
||||
Version string = "v0.49.0.616, Olympus Mons!"
|
||||
Version string = "v0.49.0.630, Olympus Mons!"
|
||||
)
|
||||
|
||||
// GetVersion get the robotgo version
|
||||
|
Loading…
Reference in New Issue
Block a user