Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054221]
[LanX]: Moma knows best! ;-)
[Your Mother]: I am quite aware that Module::Build is MUCH more in favor with many monks but I had trouble with it every time I tried to use it and trouble with CPAN stuff that used it too.
[Your Mother]: Take my advice with a grain of salt. I haven't done a new CPAN release in years at this point.
[LanX]: I want to author a new module for CPAN w/o complicated build structure
[LanX]: ther is also Dist::Zilla :-/
[LanX]: How to make a CPAN Module Distribution from 2002
[Your Mother]: Dist::Zilla is kind of the nuclear option. I set it up back in the day but it's really targeted at authors who are managing MANY modules and want to automate everything.
[erix]: perlancar should know ;)
[LanX]: see warning

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2017-08-18 17:45 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (306 votes). Check out past polls.