silvano Posted December 4, 2006 Share Posted December 4, 2006 hi, this is my little script.. but now how I can get all variables on click to 'SAVE' button? thanks to all #include "_GUIConstants.au3" ;GUICreate("SETTINGS") GUICreate("SETTINGS",400,430,-1,-1) ;,$WS_EX_TRANSPARENT GUICtrlCreateLabel ("Select YES or NO", 10,10,250,20) GUICtrlCreateGroup ("", 10, 30, 140, 60) $radio_1 = GUICtrlCreateRadio ("YES", 30, 50, 50, 20) $radio_2 = GUICtrlCreateRadio ("NO", 80, 50, 50, 20) $myGroup = GUICtrlCreateGroup ("",-99,-99,1,1) $myLabel = GUICtrlCreateLabel ("Insert text 1", 10,110,250,20) $myInput = GUICtrlCreateInput ( "text 1", 30, 140, 200, 20 ) $myLabel_2 = GUICtrlCreateLabel ("Insert text 2", 10,180,300,40) $myInput_2 = GUICtrlCreateInput ( "text 2", 30, 220, 200, 20 ) $myLabel_3 = GUICtrlCreateLabel ("Select", 10,250,250,20) $myCombo = GUICtrlCreateCombo ("01:00", 30,280,100,50) $mySetData = GUICtrlSetData(-1,"02:00|03:00|04:00|05:00|06:00|07:00|08:00|09:00|10:00|11:00|12:00|13:00|14:00|15:00|16:00|17:00|18:00|19:00|20:00|21:00|22:00|23:00|00:00","00:01") ; add other item snd set a new default $mySave=GUICtrlCreateButton ("SAVE", 50,330,75,30) $myCancel=GUICtrlCreateButton ("CANCEL", 150,330,75,30) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Link to comment Share on other sites More sharing options...
CoePSX Posted December 4, 2006 Share Posted December 4, 2006 Use GUICtrlRead. [quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"]╔══════════════════════════════╗║░░██░░░░░░░░██░░███░░░████░░░█║║░█░░█░░██░░█░░█░█░░█░█░░░░█░█░║║░█░░░░█░░█░████░███░░░██░░░█░░║║░█░░█░█░░█░█░░░░█░░░░░░░█░█░█░║║░░██░░░██░░░██░░█░░░░███░█░░░█║╚══════════════════════════════╝[/font] Link to comment Share on other sites More sharing options...
silvano Posted December 4, 2006 Author Share Posted December 4, 2006 Use GUICtrlRead.now work! tks CoePSX 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