Sign in to follow this  
Followers 0
TBX

Abort WinWaitActive by Button

3 posts in this topic

hi everybody!

i wrote a little script that copies links from a download-manager window and pastes them into a notepad window.

i used winwaitactive to make the script wait for the dl-manager window to pop up.

my script works fine and copies all my links. to make it more comfortable, i want to use a gui with a start and a stop button.

well, the start button works like it should, but my stop button doesn´t. my script waits for a window to open and so can´t react on my click.

i´m sure there is a solution, but i didn´t find it yet.

hope you can help me.

greetings from germany

Patrick

Share this post


Link to post
Share on other sites



Hi TBX, welcome to the forum. My suggestion- replace WinWaitActive with WinActive. WinWaitActive "Pauses execution of the script until the requested window is active", that's why your Stop button wasn't functioning.


Hi ;)

Share this post


Link to post
Share on other sites

it works! and it was that easy :)

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  
Followers 0