Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
[LanX]: ... anyway getting a support call from food! Need to respond ... ;-)
LanX see you later

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-03-24 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (301 votes). Check out past polls.