Here is my code:
use Win32::CtrlGUI my $window = Win32::CtrlGUI::wait_for_window(qr/Notepad/); $window->send_keys("!fx");
This is actually the same exact code that appears in the POD. When I run the program, it blocks, then I open notepad, and the call returns, but $window is null. This is confusing because it obviously found the notepad window opening. Does anyone have any insights?
Thanks!
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |