use Win32::GuiTest qw(:ALL); use strict; system("C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Accessori +es/Calculator.lnk"); my @window=FindWindowLike(undef,"Calculator"); if(!@window) { die("cannot find window with title/caption Calculator\n"); } else { printf("window handle of Calculaotr is %x \n",$window[0]); }
I've written above code tryin gto automate a calculator operation . the problem here is when I invoke a system call to open a calculator through my script the script stucks there and the further actions of the script are not performed. Any solutions to the above problem ??
In reply to Problem with System() command in perl? by ankit.tayal560
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |