diff --git a/examples/window/main.go b/examples/window/main.go index 236414d..e67e02c 100644 --- a/examples/window/main.go +++ b/examples/window/main.go @@ -58,6 +58,9 @@ func window() { if len(fpid) > 0 { robotgo.ActivePID(fpid[0]) + tl := robotgo.GetTitle(fpid[0]) + fmt.Println("pid[0] title is: ", tl) + x, y, w, h := robotgo.GetBounds(fpid[0]) fmt.Println("GetBounds is: ", x, y, w, h)