Djordhan Posted August 10, 2007 Posted August 10, 2007 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
GaryFrost Posted August 10, 2007 Posted August 10, 2007 look at ExitLoop and GUIDelete and/or GUISetState SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Reaper HGN Posted August 10, 2007 Posted August 10, 2007 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!CyaDjordhanCheck out PsaltyDS' response to SpookMeister in this thread. http://www.autoitscript.com/forum/index.ph...;_CloseChildGUIIt shows an example of a child gui and passing variables back to the parent gui.
Djordhan Posted August 10, 2007 Author Posted August 10, 2007 Alright thx! It worked fine with the PsaltyDS' solution! Topic closed
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now