Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 pondering the Monastery: (8)
As of 2015-07-31 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls