Jump to content

How do I go back to the GUI?

Recommended Posts

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?? :D

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!! :lol:


Thanx!! ;)


Link to post
Share on other sites

If Not WinActive($windowName) Then 
     Until WinActive($windowName)

This pauses script untill the window is back.

The problem to go back where you pressed the Okay button, I need to manually edit your script with a special trick at the given point you want.

Post it and I'll help :idiot:

Edited by Wolvereness

Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...