Could u help me
Am also working with checkbox but having some trouble & think i will need 2 create a mouse function 2 get it fully operational:
Code:
#c::
NoTSPassFound = Team Speak
EnterTSPass = Please enter Password.
ifnotexist SETTINGS.INI
iniread, RemTSPass, SETTINGS.INI,Remember,TSPass,0
iniread, TSPass, SETTINGS.INI, DATA, TSPass, 00
iniread, RemTSPassState, SETTINGS.INI, Remember, TSPassState, 1
iniread, TSPassState, SETTINGS.INI, DATA, TSPassState, 1
ifequal, TSPass, 00
TSPass =
start:
Gui, Add, Checkbox, x185 y82 w20 h20 vTSPassState Checked%TSPassState%
Gui, Add, Text, x45 y10 w145 h20, %EnterTSPass%
ifequal, TSPassState, 1
Gui, Add, Edit, x20 y35 w160 h20 vTSPass Password, %TSPass%
ifnotequal, TSPassState, 1
Gui, Add, Edit, x20 y40 w160 h20 vTSPass, %TSPass%
Gui, Add, Button, x35 y70 w50 h20, OK
Gui, Add, Button, x120 y70 w50 h20, Cancel
ifequal, DialogCaption, 0
gui, -caption
Gui, Show, h100 w200, %NoTSPassFound%
Return
GuiClose:
ButtonCancel:
gui, submit
gui, destroy
return
ButtonOK:
Gui, submit
gui, destroy
ifequal, RemTSPassState, 1
iniwrite, %TSPassState%, SETTINGS.INI, DATA, TSPassState
Run,teamspeak://69.93.130.100/nickname=Nick?password=pass?channel=chan?channelpassword="%TSPass%"
return
So far the code seems 2 work but when i click on checkbox it doesn't toggle show/hide password while in gui.Only when i press on "OK" it saves settings 2 ether show or hide password then will only change settings when I open gui again.
