Jump to content

How do I go back to my GUI?


Recommended Posts

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

Link to comment
Share on other sites

  • Developers

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 .

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...