Fluiquid Posted July 16, 2006 Share Posted July 16, 2006 i made a loop in a function, and i'm trying to make a button which exits the loop. the exit loop function works, but not when its looping inside a function. is there any way to exit a loop inside a function using a button? Link to comment Share on other sites More sharing options...
Daniel W. Posted July 16, 2006 Share Posted July 16, 2006 Look at this functions AdlibEnable( Func [, Time ] ) AdlibDisable() Try to figure it out with them --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
Fluiquid Posted July 16, 2006 Author Share Posted July 16, 2006 (edited) its cause its still in a function, and disables the GUI untill it reaches EndFunc, which it never does cause the buttons to end the function don't work, cause its looping in a function. Any way i can make it work without autoit disabling the main code, so i can end this paradox. Edit, i solved the problem i made the while loop outside of the Func, and just made the Func enable the loop =) Edited July 16, 2006 by Fluiquid Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now