Jump to content
Sign in to follow this  

Auto Close Error Windows

Recommended Posts


Can anybody help me with making this code automatically close down error windows as and when the appear please?

If WinExist("Error - Arbitrage Crypto Trader v.2.5.0") Then
   WinClose("Error - Arbitrage Crypto Trader v.2.5.0")

It works for closing the first error window, but i was hoping to have it on a loop so that it would close the other windows.




Share this post

Link to post
Share on other sites

Like this?

While WinExists("Error - Arbitrage Crypto Trader v.2.5.0", "")
    WinClose("Error - Arbitrage Crypto Trader v.2.5.0", "")

; Click start first pair.
MouseMove(470, 70)
MouseMove(1028, 255)

The script closes down the error windows that appear, but then doesn't move onwards with the mouse clicks.

Share this post

Link to post
Share on other sites
4 hours ago, RizlaUK said:

Like this?

Nope as that only will do it one time. Try thinking about the logic and script flow and I am sure you figure it out.  ;) 


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...