Jump to content
Sign in to follow this  
El-Trucha

How do I go back to my GUI?

Recommended Posts

El-Trucha

NOTE: I already posted this in the GUI forum but no luck... :D

Hello every1!! :idiot:

OK...I'm doing a Habbo Hotel flooder program that has a GUI... :D

What I'm doing is that when the user presses the Start Flooding button, it checks if the user put in all the required info and then it decides if it should go to Infinite loop or Definite loop...

I want it to stop flooding when the user gets out of the Habbo window, and go back to the GUI's main window...

I could to this with AutoIt2's labels, but how do I do it on AutoIt3?? :lol:

I tried putting this in the loop's body:

If Not WinActive($windowName) Then ExitLoop

When $windowName is not open, it will exit the loop, but then it'll go back to where the button is pressed!! and I want it to go back to the GUI!! ;)

How??

Thanx!! :D


El-Truchahttp://www.truchasoft.tk[url="ftp://tsfc.homeftp.net"]ftp://tsfc.homeftp.net[/url]hotline://tsfc.ath.cx

Share this post


Link to post
Share on other sites
Jos

NOTE: I already posted this in the GUI forum but no luck... :D

Hello every1!! :idiot:

OK...I'm doing a Habbo Hotel flooder program that has a GUI... :D

What I'm doing is that when the user presses the Start Flooding button, it checks if the user put in all the required info and then it decides if it should go to Infinite loop or Definite loop...

I want it to stop flooding when the user gets out of the Habbo window, and go back to the GUI's main window...

I could to this with AutoIt2's labels, but how do I do it on AutoIt3?? :lol:

I tried putting this in the loop's body:

If Not WinActive($windowName) Then ExitLoop

When $windowName is not open, it will exit the loop, but then it'll go back to where the button is pressed!! and I want it to go back to the GUI!! ;)

How??

Thanx!! :D

<{POST_SNAPBACK}>

you will have to post the portion of the script you have problems with .

Else its only guessing what could be the problem :D .


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×