Djordhan Posted August 10, 2007 Share 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 Link to comment Share on other sites More sharing options...
GaryFrost Posted August 10, 2007 Share 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. Link to comment Share on other sites More sharing options...
Reaper HGN Posted August 10, 2007 Share 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. Link to comment Share on other sites More sharing options...
Djordhan Posted August 10, 2007 Author Share Posted August 10, 2007 Alright thx! It worked fine with the PsaltyDS' solution! Topic closed Link to comment Share on other sites More sharing options...
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