847Re: Help Required: On system function
- May 2, 2005Hello,
By increasing the delay time, its still not working.
--- In firstname.lastname@example.org, "pkaluski" <pkaluski@p...> wrote:
> I would try giving it more time. Try to sleep for 10 seconds
> of 2) and see if it helps
> --- In email@example.com, "vishal_kharge"
> <vishal_kharge@y...> wrote:
> > Hello ,
> > I am getting the error "Could not find Paint" when I run the
> > following script:
> > use strict;
> > use Win32::GuiTest qw(:ALL);
> > system("start mspaint");
> > sleep 2;
> > my @windows = FindWindowLike(0, "Paint", "");
> > die "Could not find Paint\n" if not @windows;
> > I am using the ActivePerl for running the scripts.
> > I think the statement: system("start mspaint"); is not getting
> > executed.
> > What may be the reason and how should I solve this problem.
> > Regards,
> > Vishal Kharge
- << Previous post in topic Next post in topic >>