hey guys I have an Auto Login script that has a GUI with an input field & a combo box with a list inside of 1 to10
what I want to have happen is when I type in a Email account into the input field it disables or removes number 1 from the combo box
I have this but it only does it when I click the button in GUI not when I Type into the input field
If $Password <> "" Then
If StringRegExp($Account, "..*@gmail.com") Then
If $n = 1 Then
GUICtrlSetData($cCombo_AccType[1], 3)
Add_MoreGmail()
Else
If $n <> 1 Then
$Account = GUICtrlRead($Input1)
$Password = GUICtrlRead($Input1_Pass)
$n = GUICtrlRead($cCombo_AccType[1])
_GUICtrlComboBox_DeleteString($cCombo_AccType[1], 0)
MsgBox($MB_SYSTEMMODAL, "", "string deleted"& $Account)
Add_MoreGmail()
I don't want the user to input two gmail accounts with the same account type
so I want the account type 1 removed from the list if the user types a gmail account the 2nd time
anyone know how I can do this?
thanks guys
AddEmail_GUI_Working.au3