Jump to content
Sign in to follow this  
kpmwrestler

Sleep disables controls

Recommended Posts

kpmwrestler

Whenever I use the Sleep function, none of the controls or anything works. I understand why this would happen, but is there any way around it? Like maybe sleep in one area but still allow input and execution of commands in another loop?

Share this post


Link to post
Share on other sites
kpmwrestler

Is there any difference between a Do...Until and a While...Wend loop?

Share this post


Link to post
Share on other sites
kpmwrestler

Should I just post my code?

Share this post


Link to post
Share on other sites
monoceres

Is there any difference between a Do...Until and a While...Wend loop?

The only difference is when the boolean condition is checked, since it's last in a Do... Until loop it will always execute at least once.

Edited by monoceres

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
Linux

One question, about the loops.

Using a While loop, if the condition if false at start, does it run the code inside the loop at least once, or it jumps to the Wend?

Yes, please post your code.

Edited by Linux

You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"

Share this post


Link to post
Share on other sites
martin

One question, about the loops.

Using a While loop, if the condition if false at start, does it run the code inside the loop at least once, or it jumps to the Wend?

Yes, please post your code.

It takes no more effort to find the answer to that by trying it than to post the question and it's a more effective way to learn.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

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  

×