Sign in to follow this  
Followers 0
Djordhan

Multi GUI script

4 posts in this topic

Hi guys, I'm working with AutoIt for a while now but I never had to use two GUI in a single script. The problem is, when I call the function including the second GUI, I can't close this GUI without closing the first one, which is bad. If I use the Exit command it exits the whole script and I can't use the WinClose either.

I tried calling another script with the second GUI but I can't pass arg this way. Or I don't know how!

So if any of you ever did this (which is probably not really hard to do) then I'd really appreciate some help there :)

Thx a lot folks!

Cya

Djordhan

Share this post


Link to post
Share on other sites



Hi guys, I'm working with AutoIt for a while now but I never had to use two GUI in a single script. The problem is, when I call the function including the second GUI, I can't close this GUI without closing the first one, which is bad. If I use the Exit command it exits the whole script and I can't use the WinClose either.

I tried calling another script with the second GUI but I can't pass arg this way. Or I don't know how!

So if any of you ever did this (which is probably not really hard to do) then I'd really appreciate some help there :)

Thx a lot folks!

Cya

Djordhan

Check out PsaltyDS' response to SpookMeister in this thread. http://www.autoitscript.com/forum/index.ph...;_CloseChildGUI

It shows an example of a child gui and passing variables back to the parent gui.

Share this post


Link to post
Share on other sites

Alright thx! It worked fine with the PsaltyDS' solution!

Topic closed :)

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