Sign in to follow this  
Followers 0
Chobyhy

Help with Autoit

5 posts in this topic

How do you disable a part of your script after being disabled? There are some commands outside of While 1 And WEnd that needs to be disabled after the first execution. All it does is version check then i want it disabled so it doesnt use the sleep time because right now the delay of the commands in While 1 and WEnd is very slow although the sleeptime is set 100 miliseconds

Share this post


Link to post
Share on other sites



$x = 0

If $x = 0 Then

MsgBox(4096, "Rawr!", "Rawr", 0)

$x = 1

EndIf

?


Share this post


Link to post
Share on other sites

i have it set like that right now but still getting the delay for the while. I think even thought x = 1 the autoit keeps checking for the If $x = 0 statement. Idk, just getting a delay which i need to get rid of

Share this post


Link to post
Share on other sites

can you post your code? or pm me, i can take a look mabye help you better then


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