Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to continue running script if .exe program fails

by zork42 (Monk)
on Sep 16, 2013 at 04:39 UTC ( #1054221=note: print w/ replies, xml ) Need Help??


in reply to How to continue running script if .exe program fails

However, you might find it useful to get AutoIt for its AutoIt Window Info Tool, which can be used to get information about the windows that you are trying to automate.
I use http://www.catch22.net/software/winspy-17 to find the info I need (normally the Window Class, and the Window's title).
(Or you might already have the Spy++ utility that ships with Microsoft Visual Studio.)

Then you call Win32::GuiTest's FindWindowLike() to get a handle to the window. Then you can manipulate the window.


Comment on Re: How to continue running script if .exe program fails

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054221]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-07-28 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (192 votes), past polls