Sign in to follow this  
Followers 0
schraitle

How can I have a function run constantly during a script?

3 posts in this topic

I need to run a script that pauses whenever my browser is loading. I made a function that will pause the script whenever the loading bar appears, but I have to reference this function after every statement to make sure that the browser is not loading. Is there a way that I can have my loading function constantly running in the background so that if a loading bar comes up, the script will pause until the bar goes away? I was thinking something like hotkeyset() but using another function instead of the keypress to start the function.

I suppose I could use two scripts, but I would like it if I could keep it all in the same script.

Share this post


Link to post
Share on other sites



Look at AdlibEnable in the Helpfile :rolleyes:

Share this post


Link to post
Share on other sites

Thank you, that works beautifully

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