Jump to content

Recommended Posts

Posted

Sorry for newbie question but :

While $exit = 0

$msg = GUIGetMsg()

Select

Case

$msg = $GUI_EVENT_CLOSE

Case

$msg = $Button1

Button1()

WEnd

I know something is missing to make sure that after closing Button1 program would continue the loop on.....

  • Moderators
Posted (edited)

Sorry for newbie question but :

While $exit = 0

$msg = GUIGetMsg()

Select

Case

$msg = $GUI_EVENT_CLOSE

Case

$msg = $Button1

Button1()

WEnd

I know something is missing to make sure that after closing Button1 program would continue the loop on.....

When you look at that... do you think you see enough information to give you an answer that would help you? You have Variables that aren't defined for us, and functions that don't exist to us, not to mention that you are missing an EndSelect which tells me that is your issue or you have cut out even more code. Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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
×
×
  • Create New...