alawoona 0 Posted February 21, 2004 (edited) This script loads the GUI with neither radio button checked - If I select the first button, can I then uncheck it using ControlCommand - this script does not work ??? Note - it uses Larry's AU3GUI_sure.au3 ----Begin----- AU3GUI("GUI|title|Test|action|2|x|100|y|100|w|200|h|200") AU3GUI("1|type|radio|text|Choice &1|x|30|y|20|w|100|submit|1") AU3GUI("2|type|radio|text|Choice &2|x|30|y|60|w|100|submit|1") AU3GUI("3|type") Run("AU3GUI") Winwait("Test") While WinExists("Test") Sleep(100) If ControlCommand ( "Test", "", "Button1", "IsChecked", "" ) =1 Then MsgBox(4096,"","Choice 1 is checked") MsgBox(4096, "", "press OK to Uncheck this radio button") ControlCommand("Test", "", "Button1", "UnCheck", "") EndIf Wend #include "AU3GUI_sure.au3" -----end---- Edited February 21, 2004 by alawoona Share this post Link to post Share on other sites
alawoona 0 Posted February 21, 2004 Yeah - I thought that might be the case.......but the radio buttons start out all unchecked....just wanted to get back to this state without reloading the whole gui Share this post Link to post Share on other sites
Josbe 1 Posted February 21, 2004 Hey Larry, talking about this, is possible have radios in groups (Separated selections) with Au3GUI? (duno if I explain it well) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Share this post Link to post Share on other sites