Jeremy76 Posted March 23, 2011 Share Posted March 23, 2011 I am trying to find a way to use radio buttons to identify what inputbox I am getting data from. I have 6 radio buttons and 6 inputs. I want the user to be able to push a button and based on what radio button is selected get the data from the corresponding input. There are several different buttons but each button will need to collect data from the input based off what radio button is selected. see the $input1 in the code I want to be able to change this based of what radio box is selected Any help would be appericiated Select Case $nMsg = $GUI_EVENT_CLOSE Exit case $nMsg = $Webm WinActivate("1 - DHR (127.0.0.1)") AutoItSetOption ("SendKeyDelay", 200) Send ("{F3 3}") send ("{pause}") send ("{HOME}") AutoItSetOption ("sendkeydelay", 0) send ("Webm Find "& guictrlread[b]($Input1)[/b]& "{enter}") case $nMsg = $DPPM WinActivate("1 - DHR (127.0.0.1)") AutoItSetOption ("SendKeyDelay", 200) Send ("{F3 3}") send ("{pause}") send ("{HOME}") AutoItSetOption ("sendkeydelay", 0) send ("DPPM,"& guictrlread($input1)& "{enter}") case $nMsg = $DPPL WinActivate("1 - DHR (127.0.0.1)") AutoItSetOption ("SendKeyDelay", 100) Send ("{F3 3}") send ("{pause}") send ("{HOME}") AutoItSetOption ("sendkeydelay", 0) send ("DPPL,"& guictrlread($input1)& "{enter}") Case $nMsg = $UCMS WinActivate("1 - DHR (127.0.0.1)") AutoItSetOption ("SendKeyDelay", 100) Send ("{F3 3}") send ("{pause}") send ("{HOME}") AutoItSetOption ("sendkeydelay", 0) send ("UCMS,"& guictrlread($input1)& "{enter}") Link to comment Share on other sites More sharing options...
AutoBert Posted March 23, 2011 Share Posted March 23, 2011 Hi, pleace post the complete script. I cant see any radiobutton, mfg autoBert Link to comment Share on other sites More sharing options...
Mallie99 Posted March 23, 2011 Share Posted March 23, 2011 You may need to use the EVAL function? Are you telling me something I need to know or something I want to know? 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