The error I get is: "WaitWindow" is not exported by the Win32::GuiTest module Can't continue after import errors at gui.pl line 1 BEGIN failed--compilation aborted at gui.pl line 1.use Win32::GuiTest qw(WaitWindow GetForegroundWindow SetForegroundWind +ow SendKeys); system("start WINWORD.exe"); sleep 3; $parentWindow = GetForegroundWindow(); SendKeys("%of"); $success = WaitWindow('^Font$',1); print $success;
In reply to Problem with WaitWindow() in Win32::GuiTest by Edge118
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |