Tried that.  Didn't work, but I do find if I use the
entire window name (Untitled - Notepad) vs just
(notepad) then it isn't an issue, so the general
searches apparently won't work.  Bummer.

Thanks for the help though.
Jim

--- $Bill Luebkert <[EMAIL PROTECTED]> wrote:
> Jim Hansen wrote:
> 
> > Bill
> > The time delay helped out (sleep 1) was good
> enough.  I did find out too
> > that passing "C:/Windows/notepad.exe" into $ARGV
> or @ARGV[0] causes your
> > script to produce this:
> >  
> > Window Found(Text : 'C:\WINDOWS\system32\cmd.exe -
> perl script.pl
> > c:/windows/notepad.exe "(?i)notepad"' Class :
> 'Console WindowClass'
> > Handle: '1769972')
> > If I leave it within the script (my $app_path =
> shift ||
> > 'c:\Windows\notepad.exe';),
> > then the previous does not appear which is an
> interesting side affect,
> > now to supress this...
> 
> Try using \ in both places rather than /.  I
> normally use tcsh and /s
> rather than \s.
> 
> > but if I leave this in the command line too, I get
> the handle line
> > above.   So the bottom line is, the command line
> argument is causing it.
> 
> 
> -- 
>   ,-/-  __      _  _         $Bill Luebkert   
> Mailto:[EMAIL PROTECTED]
>  (_/   /  )    // //       DBE Collectibles   
> Mailto:[EMAIL PROTECTED]
>   / ) /--<  o // //      Castle of Medieval Myth &
> Magic http://www.todbe.com/
> -/-' /___/_<_</_</_    http://dbecoll.tripod.com/
> (My Perl/Lakers stuff)
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to