Jump to content

Recommended Posts

Posted

Hi
I made this and its working but I have to run it every time I need, I wish it could be running on the background.
 

Sleep (334)
Global $until = 1
Do
   WinActivate("flypop")
   Send("{ENTER}")
   $until += 1
Until $until = 80

I have many instances of this running and when a pop-up appears there is many at the same time so the little script closes them all.

Posted
  On 1/21/2018 at 5:02 AM, Haikiri said:
  On 1/21/2018 at 6:44 AM, Haikiri said:

Gonna have to wait the pop-ups happen but I think it will work

Expand  

I have many instances of this running and when a pop-up appears there is many at the same time so the little script closes them all.

Expand  

What would be the ideal scenario? The things you would like the script to do?

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Posted
  On 1/21/2018 at 4:35 PM, careca said:

What would be the ideal scenario? The things you would like the script to do?

Expand  

There are 12 instances of the flypop running, when a certain event happen all of them give a pop-up message and if the event happens 5 times I get 60 pop-up messages to close so the purpose of the script is to keep running in the back waiting for the pop-ups to happen and then close them automatically when they do.

Posted

Ok, i understand, so i assume ripdad's solution solved it yes?

In adition to his solution, i'd like to sugest the possibility of having something like that loop,

but just a winexists + winkill, so no need to activate it and pressing enter, simply, if it exists, close it, and you're done.

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Posted

Just an update... didn't work.
They way it is the pop-up must be the active window or it won't do anything.
Most of the time the pop-ups stay behind the active window if I'm holding any key.
So I have to select them one by one and the script will close them.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...