AutoIt Code
Elseif GuiCtrlRead($input2) > 4 Then ;Check if Lines are correct; MsgBox(0, "Error", "Line must be 1 to 4 only.") Elseif GuiCtrlRead($input2) = 0 Then ;Check if Lines are correct; MsgBox(0, "Error", "Line must be 1 to 4 only.")
How do you shorten these down to one line. I tried Or and And with no luck. I would assuming this would work, but not.
AutoIt Code
Elseif GuiCtrlRead($input2) = 0 or > 4 Then ;Check if Lines are correct; MsgBox(0, "Error", "Line must be 1 to 4 only.")