I am new to Autoit, and I have created a GUI form that users will enter a project number and Project name into a input box. The program will then create a directory on our file servers based on the information in the forms. I want to create an input mask I can control the information entered.
Here is how I would like each box's data to look.
Project # 12-1234-00. - I want the - to always appear in the third and 8 spot. The user would only have to typew 1212340
Here the input section:
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$hGUI = GUICreate("Test GUI", 581, 43)
$iLable = GUICtrlCreateLabel("Project #", 6, 8, 72, 25)
GUICtrlSetFont(-1, 14, 400, 0, "Times New Roman")
$iInput = GUICtrlCreateInput("", 96, 8, 385, 21)
$iButton = GUICtrlCreateButton("Button", 496, 8, 75, 25)
GUISetState(@SW_SHOW)
GUIRegisterMsg($WM_COMMAND, "_WM_COMMAND")
While 1