probedrone Posted August 31, 2006 Posted August 31, 2006 I wrote a script to automate the install of a bunch of programs on a reformatted system. This script has a GUI checkbox window so the user can choose which programs to install. After clicking OK, I want to GUI Window to close before installing the programs, but my programs depend on which boxes are checked, whose values will go away when the GUI Window closes. How can I go around this?
Thatsgreat2345 Posted August 31, 2006 Posted August 31, 2006 you can Hide it , and or create a .ini file and just write a 1 or a 0 if that checkbox was checked and have it read and do a if iniread($file,"GUI","check1","") = 1 then guictrlsetstate($checkbox,$GUI_CHECKED) something like that
Valuater Posted August 31, 2006 Posted August 31, 2006 How do you Hide the GUI?see GUISetState()... in help8)
ChrisL Posted August 31, 2006 Posted August 31, 2006 Simple solution is to read all of the values in, store them somewhere (file/registry/or memory) and then delete the gui and continue with whatever it is you need to do [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
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