Jump to content

Multi GUI script


Djordhan
 Share

Recommended Posts

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

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

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