Sign in to follow this  
Followers 0
EICinc

Help with Radio Buttons output to an INI file

1 post in this topic

Hello,

How can I edit this script to output the radio button selection to an ini file with the numbers in the radio button?

I need the INI file output created on the C-drive with this format:

[SIGNON]
DlrNo=<input_from_radio_button>

Also, if I can get a Create Button at bottom on Dialog Box that would close the box and creates the ini file at same time.

The script so far:

#include <GUIConstantsEx.au3>

$hGUI = GUICreate("Text", 200, 350)

GUIStartGroup()
$hRadio_1 = GUICtrlCreateRadio("9070", 20, 30, 400, 20)
$hRadio_2 = GUICtrlCreateRadio("9015", 20, 50, 400, 20)
$hRadio_3 = GUICtrlCreateRadio("9040", 20, 70, 400, 20)
$hRadio_4 = GUICtrlCreateRadio("9055", 20, 90, 400, 20)
$hRadio_5 = GUICtrlCreateRadio("9025", 20, 110, 400, 20)
$hRadio_6 = GUICtrlCreateRadio("9050", 20, 130, 400, 20)
$hRadio_7 = GUICtrlCreateRadio("9060", 20, 150, 400, 20)
$hRadio_8 = GUICtrlCreateRadio("9030", 20, 170, 400, 20)
$hRadio_9 = GUICtrlCreateRadio("9065", 20, 190, 400, 20)
$hRadio_10 = GUICtrlCreateRadio("9011", 20, 210, 400, 20)
$hRadio_11 = GUICtrlCreateRadio("9090", 20, 230, 400, 20)
$hRadio_12 = GUICtrlCreateRadio("9065", 20, 250, 400, 20)

$hGroup_1 = GUICtrlCreateGroup("Text", 10, 10, 180, 270)

GUISetState()

While 1

    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch

WEnd

Thank you for any and all help.

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0