Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: WinGetActive()
WinActivate("PCphone Pro") Delay(2) Name = WinGetActive() Message("", Name)
The focus is on the button I used recently. There is no window to type in, but I can use keystrokes to press buttons - this works.
Note: PCphone seems to be written in VB and has at least parts written in VB2. Problems with that? Thank you for any hints.
WinBatch has a hard time "seeing" blank-named windows. Using the "Control Manager" extender - downloadable from our download area - you can see windows better - with lots more code.
Article ID: W13376
Filename: Use WinGetActive to Get Active Window.txt
File Created: 1999:04:15:16:53:36
Last Updated: 1999:04:15:16:53:36