Sign in to follow this  
Followers 0
eskimoooo

Doesnt return to previous windows

2 posts in this topic

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.....

Share this post


Link to post
Share on other sites



#2 ·  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

[center]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.[/center]

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  
Followers 0