Search the Community
Showing results for tags 'inputbox'.
-
Hi guys, I have searched around but i don't have find nothing about this: The test script: #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 237, 93, 192, 124) $Input1 = GUICtrlCreateInput("Center vertically is correct", 16, 16, 201, 21) $Input2 = GUICtrlCreateInput("I'm not center vertically", 16, 48, 201, 21, 0, $WS_EX_WINDOWEDGE) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd If i remove the border for the 2° inputbox the text isn't vertically center. I have try some other syle without success, like $SS_CENTERIMAGE...work for label but not for inputbox Some suggestion? Thanks
-
Hello, it's quite often, that someone asks how to change the texts of the MsgBox buttons or the InputBox buttons or how to change the position of ta MsgBox. Since years I use CBT hooks for that, but now I made a small UDF out of it for the ease of use. Of course you can build your own GUI or use already existing UDFs to do the same, but I like this way and you can hack (hook) the inbuild InputBox. HookDlgBox.au3 #include-once #include <WinAPI.au3> Global Const $tagCBT_CREATEWND = "ptr lpcs;HWND tagCBT_CREATEWND" Global Const $tagCREATESTRUCT = "ptr lpCreateParams;handle hInstance;HWND hMenu;HWND hwndParent;int cy;int cx;int y;int x;LONG style;ptr lpszName;ptr lpszClass;DWORD dwExStyle" Global $g__hProcDlgBox = DllCallbackRegister("__DlgBox_CbtHookProc", "LRESULT", "int;WPARAM;LPARAM") Global $g__TIdDlgBox = _WinAPI_GetCurrentThreadId() Global $g__hHookDlgBox = _WinAPI_SetWindowsHookEx($WH_CBT, DllCallbackGetPtr($g__hProcDlgBox), 0, $g__TIdDlgBox) Global Const $g__MaxDlgBtns = 5 ; maximum of 5 buttons to rename text Global Const $g__MaxDlgItemId = 11 ; maximun ID of buttons to search is 11 as this is the maximun used in Messagebox Global $g__DlgBoxPosX, $g__DlgBoxPosY, $g__DlgBoxWidth, $g__DlgBoxHeight Global $g__aDlgBoxBtnText[$g__MaxDlgBtns] Global $g__DlgBtnCount = 0 _DlgBox_SetDefaults() OnAutoItExitRegister("__DlgBox_UnregisterHook") Func _DlgBox_SetButtonNames($TxtBtn1 = Default, $TxtBtn2 = Default, $TxtBtn3 = Default, $TxtBtn4 = Default, $TxtBtn5 = Default) $g__aDlgBoxBtnText[0] = $TxtBtn1 $g__aDlgBoxBtnText[1] = $TxtBtn2 $g__aDlgBoxBtnText[2] = $TxtBtn3 $g__aDlgBoxBtnText[3] = $TxtBtn4 $g__aDlgBoxBtnText[4] = $TxtBtn5 $g__DlgBtnCount = @NumParams EndFunc ;==>_DlgBox_SetButtonNames Func _DlgBox_SetPosition($x = Default, $y = Default) ;only for MsgBox, not working and not needed for InputBox $g__DlgBoxPosX = $x $g__DlgBoxPosY = $y EndFunc ;==>_DlgBox_SetPosition Func _DlgBox_SetSize($w = Default, $h = Default) $g__DlgBoxWidth = $w $g__DlgBoxHeight = $h EndFunc ;==>_DlgBox_SetSize Func _DlgBox_SetDefaults() $g__DlgBoxPosX = Default $g__DlgBoxPosY = Default $g__DlgBoxWidth = Default $g__DlgBoxHeight = Default For $i = 0 To UBound($g__aDlgBoxBtnText) - 1 $g__aDlgBoxBtnText[$i] = Default Next EndFunc ;==>_DlgBox_SetDefaults Func __DlgBox_CbtHookProc($nCode, $wParam, $lParam) Local $tcw, $tcs Local $iSearch = 0 Local $ahBtn[$g__DlgBtnCount] If $nCode < 0 Then Return _WinAPI_CallNextHookEx($g__hHookDlgBox, $nCode, $wParam, $lParam) EndIf Switch $nCode Case 3 ;5=HCBT_CREATEWND If _WinAPI_GetClassName(HWnd($wParam)) = "#32770" Then ;Dialog window class $tcw = DllStructCreate($tagCBT_CREATEWND, $lParam) $tcs = DllStructCreate($tagCREATESTRUCT, DllStructGetData($tcw, "lpcs")) If $g__DlgBoxPosX <> Default Then DllStructSetData($tcs, "x", $g__DlgBoxPosX) If $g__DlgBoxPosY <> Default Then DllStructSetData($tcs, "y", $g__DlgBoxPosY) If $g__DlgBoxWidth <> Default Then DllStructSetData($tcs, "cx", $g__DlgBoxWidth) If $g__DlgBoxHeight <> Default Then DllStructSetData($tcs, "cy", $g__DlgBoxHeight) EndIf Case 5 ;5=HCBT_ACTIVATE If _WinAPI_GetClassName(HWnd($wParam)) = "#32770" Then ;Dialog window class For $i = 1 To $g__MaxDlgItemId If IsHWnd(_WinAPI_GetDlgItem($wParam, $i)) Then If $g__aDlgBoxBtnText[$iSearch] <> Default Then _WinAPI_SetDlgItemText($wParam, $i, $g__aDlgBoxBtnText[$iSearch]) $iSearch += 1 If $iSearch >= UBound($ahBtn) Then ExitLoop EndIf Next EndIf EndSwitch Return _WinAPI_CallNextHookEx($g__hHookDlgBox, $nCode, $wParam, $lParam) EndFunc ;==>__DlgBox_CbtHookProc Func __DlgBox_UnregisterHook() _WinAPI_UnhookWindowsHookEx($g__hHookDlgBox) DllCallbackFree($g__hProcDlgBox) EndFunc ;==>__DlgBox_UnregisterHook Func _WinAPI_SetDlgItemText($hDlg, $nIDDlgItem, $lpString) Local $aRet = DllCall('user32.dll', "int", "SetDlgItemText", _ "hwnd", $hDlg, _ "int", $nIDDlgItem, _ "str", $lpString) Return $aRet[0] EndFunc ;==>_WinAPI_SetDlgItemText Simple example to see how to use it #include "HookDlgBox.au3" _DlgBox_SetButtonNames("1", "two", "3") MsgBox(4, "Test 1", "Custom button texts") _DlgBox_SetPosition(20, 20) MsgBox(66, "Test 2", "Custom position and button texts") _DlgBox_SetButtonNames("Submit", "Don't submit", "Don't know") InputBox("Test 3", "Where were you born?", "Planet Earth") _DlgBox_SetSize(800, 800) InputBox("Test 4", "Where were you born?", "Planet Earth") _DlgBox_SetSize(Default, 800) MsgBox(66, "Test 5", "Strange but working") _DlgBox_SetButtonNames(Default, "Wait", "What?") _DlgBox_SetSize(Default, Default) _DlgBox_SetPosition(500, 500) MsgBox(66, "Test 6", "So far so good!") _DlgBox_SetDefaults() MsgBox(6, "Test 7", "Default position and button texts") Hope you like it. Best regards funkey HookDlgBox Example.au3 HookDlgBox.au3
-
Text translated from Portuguese by google - please apologize for any errors First I have to thank the development team for product quality and the ease with which it is possible to develop tools with AutoIt. I am developing a series of libraries to facilitate the creation of Forms that once it is stable and comprehensive I intend to share here for autoit But suddenly during development an unexpected effect appeared in simple inputbox fields. Everything is working fine, however if I'm in an inputbox, don't change its selected content and move focus to another field the selected text remains blue (selected) instead of returning to normal See the image.... When pricing 3x TABs all remain blue However if I change the field , when leaving its focus it behaves normally See the ex below: 1) I selected “tipo Default” and pressed TAB (to test what happens) 2) typed "TESTE" and pressed TAB 3) I pressed TAB 2x again and the "Centralizado" field turned blue Note: by default, when receiving focus, the text is always automatically selected Here are some parts of the code: Gui create: ;modifique o tamanho inicial aqui ;$Form[$Form[0][0]][1] = 600 ;largura =800 ;$Form[$Form[0][0]][2] = 600 ;Atura =600 ;$Form[$Form[0][0]][3] = "RoboAutomato - "&$NomeProjeto $Form[$Form[0][0]][0] = GUICreate($Form[$Form[0][0]][3], _ $Form[$Form[0][0]][1], $Form[$Form[0][0]][2], _ Default, Default, _ BitOR($GUI_SS_DEFAULT_GUI, $WS_MAXIMIZEBOX, $WS_SIZEBOX, $WS_THICKFRAME, $WS_TABSTOP, $WS_POPUP)) GUISetFont($FormFonteTam, _ ;Tamanho da Fonte $FormFonteTipo, _ ;Tipo da Fonte $FormFonteEstilo, _ ;Estilo da Fonte $FormFonteNome) ; Nome da Fonte #Region Criando ToolTip $hGUIToolTip = _GUIToolTip_Create($Form[$Form[0][0]][0], BitOR($_TT_ghTTDefaultStyle, $TTS_BALLOON)) ; balloon style tooltip #EndRegion Criando ToolTip inputs create: .... InputCriar(200, 200, _ ;Coordenadas Base Default, Default, _ ;Largura e Altura automatica se negativo em função do extremo da janela "|Referencia|", _ ;Label do Input "Tudo Default ou qq diferente de 1,2,3,4: mais simples", _ ;Texto explicativo do InputBox e seu label "Teste do tipo Default", _ ;Valor Default da Input Default, _ ;0 é Defaultou define o estilo Default, _ ;Defini a forma de incerção Default=20 caracteres "CCCCCCCCCCCCCCCCCCCC" Default, _ Default, _ Default, _ ; Tipo de alinhamento em relação a Janela Default, _ ;Tamanho da Fonte Default, _ ;Tipo da Fonte Default, _ ;Estilo da Fonte Default) ; Nome da Fonte InputCriar(200, Default, _ ;Coordenadas Base Default, Default, _ ;Largura e Altura automatica se negativo em função do extremo da janela "|Canto inferior esquerdo|", _ ;Label do Input "Tipo 1: 2 linhas", _ ;Texto explicativo do InputBox e seu label "Tipo 1: 2 linhas", _ ;Valor Default da Input 1, _ ;0 é Defaultou define o estilo Default, _ ;Defini a forma de incerção Default=20 caracteres "CCCCCCCCCCCCCCCCCCCC" Default, _ Default, _ Default, _ ; Tipo de alinhamento em relação a Janela Default, _ ;Tamanho da Fonte Default, _ ;Tipo da Fonte Default, _ ;Estilo da Fonte Default) ; Nome da Fonte ..... Function InputCriar: Func InputCriar($InputX = Default, $InputY = Default, _ ;Coordenadas Base Canto Superior Esquerdo se não definido proxima linha e coluna $InputWidth = Default, $InputHeight = Default, _ ;Largura e Altura automatica se negativo em função do extremo da janela $InputRotulo = "", _ ;Label do Inpu $InputTip = "", _ ;Texto explicativo do InputBox e seu label $InputDefault = "", _ ;Valor Default da Input $InputAlin = Default, _ ;0 é Defaultou define o estilo $InputMascara = Default, _ ;Defini a forma de incerção Default=20 caracteres "CCCCCCCCCCCCCCCCCCCC" $InputEstilo = Default, _ $InputEstiloEx = Default, _ $InputResizing = Default, _ ; Tipo de alinhamento em relação a Janela $InputTamFonte = Default, _ ;Tamanho da Fonte $InputFonteTipo = Default, _ ;Tipo da Fonte $InputFonteEstilo = Default, _ ;Estilo da Fonte $InputFonteNome = Default) ; Nome da Fonte .... $InputEstilo = BitOR($ES_AUTOHSCROLL, _ $WS_TABSTOP) ... $InputEstiloEx = $WS_EX_CLIENTEDGE ;formato baixo relevo ... $Inputs[$Inputs[0][0]][0] = GUICtrlCreateInput($Mascara5, _ ;Default da Input $Form[$Form[0][0]][6]+$InputX, $Form[$Form[0][0]][7]+$InputY, _ ;Coordenadas Base $InputWidth, $InputHeight, _ ;Altura e largura automatica $InputEstilo, _ ;Estilo $InputEstiloEx) ;Extilo extra ... GUICtrlSetData($Inputs[$Inputs[0][0]][0], $Inputs[$Inputs[0][0]][3]) Return $Inputs[$Inputs[0][0]][0] EndFunc ;==>InputCriar sorry for not putting all the code because there are many libraries and they are in the initial stage of development What should I change to get Inputbox's behavior back to normal???? Thank you for your attention
-
Why can I not click on either of my input fields? #Region ### START Koda GUI section ### Form= Global $Form1 = GUICreate("Form1", 730, 437, 192, 124) ;GUISetFont(14, 800, 0, "MS Sans Serif") GUISetBkColor(0xC0DCC0) Global $Label1 = GUICtrlCreateLabel("Enter your Password. UserName is auto filled", 62, 40, 604, 41, $SS_CENTER) GUICtrlSetFont(-1, 26, 800, 0, "MS Sans Serif") Global $Label2 = GUICtrlCreateLabel("User Name:", 120, 130, 604, 31, $SS_LEFT) GUICtrlSetFont(-1, 20, 800, 0, "MS Sans Serif") Global $Label3 = GUICtrlCreateLabel("Password:", 135, 210, 604, 31, $SS_LEFT) GUICtrlSetFont(-1, 20, 800, 0, "MS Sans Serif") Global $Input1 = GUICtrlCreateInput(@UserName, 274, 130, 185, 32) GUICtrlSetFont(-1, 14, 800, 1, "MS Sans Serif") Global $Input2 = GUICtrlCreateInput("Password", 274, 210, 185, 32, $ES_PASSWORD) GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif") Global $OK = GUICtrlCreateButton("OK", 274, 270, 185, 57) GUICtrlSetFont(-1, 20, 800, 0, "MS Sans Serif") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $OK Global $UserName = GUICtrlRead($Input1) Global $PassWord = GUICtrlRead($Input2) ExitLoop EndSwitch WEnd ; Delete the GUI window GUIDelete()
-
Hi AutoIters! Here is my new UDF about GUIs: it's an enhanced mixture of Advanced InputBox (deprecated) and KODA Parser (deprecated), with additional functions. What you can do with it: Parse KODA files and directly create GUIs (_GUIUtils_CreateFromKODA) Parse a simple JSON form definition to simply create advanced InputBoxes with any amount/type of input controls (_GUIUtils_CreateFromJSON) Created GUIs are returned as Scripting.Dictionary objects, and you have helper functions to access GUIs controls by their names (_GUIUtils_HWnd, _GUIUtils_CtrlID, _GUIUtils_HCtrl ...) A function that can make a GUI created from KODA/JSON (defined by it's $oForm object) and make it a modal InputDialogBox (just like InputBox, but returns all entered data as Scripting.Dictionary object) Functions are documented, and there are some examples. Consider this UDF as beta, but since I'm currently using it in a small commercial project, it should become production ready in near future. To always get the latest code version, get it from Github (more up to date than this topic). Update 04/02/2020: New simple application example Fixed focused control handling in _GUIUtils_InputDialog Reset input values before returning from _GUIUtils_InputDialog Fixed CloseOnEsc in _GUIUtils_InputDialog Fixed Input not reset Fixed all ListBox items are selected Project now on GitHub https://github.com/matwachich/autoit-guiutils/ Update 05/02/2020: Support for nodate for Date and Time input controls (pass null value) New handling of focused control _GUIUtils_InputDialog: Now, you can specify the focused control in $oInitialData by setting "controlName:focus" = True Updated documentation of _GUIUtils_InputDialog Update 07/02/2020: Bug corrected when setting Data input control Added: abillity to read a single input control New functions (_GUIUtils_GetInputs, _GUIUtils_WriteInputs), documentation completion. Readme file and screenshots on Github Page GUIUtils.zip
-
-
I'm trying to use some inputboxes as radio buttons. This code seems to work ok, but don't know if there's is a better 'option' #include <GUIConstantsEx.au3> #include <GuiConstants.au3> GUIRegisterMsg($WM_COMMAND, "WM_COMMAND") Global $aInput[4] $hGUI = GUICreate("Test", 500, 500) $aInput[0] = GUICtrlCreateInput("Some text 1a", 10, 10, 200, 24) $aInput[1] = GUICtrlCreateInput("Some text 1b", 10, 40, 200, 24) $aInput[2] = GUICtrlCreateInput("Some text 2a", 10, 80, 200, 24) $aInput[3] = GUICtrlCreateInput("Some text 2b", 10, 110, 200, 24) GUISetState(@SW_SHOW, $hGUI) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd Func WM_COMMAND($hWnd, $msg, $wParam, $lParam) Local $nNotifyCode = BitShift($wParam, 16) ; high word Local $nID = BitAND($wParam, 0xFFFF) ; low word Local $hCtrl = $lParam Switch $nID Case $aInput[0] Switch $nNotifyCode Case $EN_SETFOCUS GUICtrlSetBkColor($aInput[0], 0x98FB98) GUICtrlSetBkColor($aInput[1], 0xD3D3D3) EndSwitch Case $aInput[1] Switch $nNotifyCode Case $EN_SETFOCUS GUICtrlSetBkColor($aInput[0], 0xD3D3D3) GUICtrlSetBkColor($aInput[1], 0x98FB98) EndSwitch Case $aInput[2] Switch $nNotifyCode Case $EN_SETFOCUS GUICtrlSetBkColor($aInput[2], 0x98FB98) GUICtrlSetBkColor($aInput[3], 0xD3D3D3) EndSwitch Case $aInput[3] Switch $nNotifyCode Case $EN_SETFOCUS GUICtrlSetBkColor($aInput[2], 0xD3D3D3) GUICtrlSetBkColor($aInput[3], 0x98FB98) EndSwitch EndSwitch ; Proceed the default Autoit3 internal message commands. ; You also can complete let the line out. ; !!! But only 'Return' (without any value) will not proceed ; the default Autoit3-message in the future !!! Return $GUI_RUNDEFMSG EndFunc ;==>WM_COMMAND Would you recommend using _WinAPI_GetFocus instead? Thanks,
-
Hi guys, So I am trying to automate a task and this task has an input box with an already set character "9". I have just decided that I don't really need the input as an option but it's good to leave however for this instance I would like it to run past this point automatically. I've tried numerous ways to try and automate the use of the "OK" button using ControlClick and various other options. I just can't seem to see where this point in the script is. Scoured the forums for anything similar but didn't have any luck finding anything. Sorry to be a pain and I hope someone can help, if I haven't explained in enough detail please don't hesitate to ask for more. Many thanks, Ackerz Local $len Local $n Local $buff Local $aMyDate $Len = InputBox("Test",$msgPrompt,"9") $len = StringStripWS($len,$STR_STRIPALL) ;Check that user has entered a vaild password length if not StringIsDigit($len) or $len = 0 Then MsgBox(48,"Error","Invaild Integer was entered" & @CRLF & "Program will now exit.") Exit EndIf ;This creates the random password. for $i = 1 to $Len ;Pick a random char between 1 and the pwsMask Length $n = int(random(1,StringLen($pwsMask))) ;Concat each char that has been picked out of pwsMask to $buff $buff = $Buff & StringMid($pwsmask,$n,1) Next
-
Hi everybody, I wanted to share with you this short piece of code where InputBox will always be on top (it's important to have it on top, kind of "MsgBox style") . It's the shortest way I found to make it happen, with few lines of code : Do $sNb_Quest = InputBox("Quiz", "How many questions to answer ? (1-99)", "10", " M2", _ 220, 140, Default, Default, 0, GUICreate("", 0, 0, 0, 0, Default, @SW_SHOWDEFAULT)) If @error = 1 Then MsgBox(4096, "End of script", "You choosed to Quit") Exit EndIf GUIDelete() ; place this line here, not just after InputBox, or @error will be reset to 0 $iNb_Quest = Number($sNb_Quest) Until $iNb_Quest > 0 And IsInt($iNb_Quest) = 1 MsgBox(4096, "Result", "Your choice : " & $iNb_Quest) In the precedent code, the user can't type more than 2 characters. Inputs like "0" or ".5" or "-1" will be automatically rejected, also the Input is mandatory, default is 10. The last parameter, GUICreate, is the key to have this InputBox always on top (in a quick way) My question is : should GUIDelete() be present in the code or can we delete that line ? It seems to work fine without the GUIDelete() line, but in case the loop repeats several times (because of bad inputs), then we will have several GUICreate() without a single GUIDelete() ? Thanks for... your input
-
I'm wondering if, once again, I might be able to get some assistance from those of you who are much more knowledgeable than I. I have written a function that uses an InputBox and asks for the name of the adapter the user wants to manipulate. The script is designed to assign the name of the adapter to the entire program (a global variable) for use in other functions throughout its use. It can also be called again to change the adapter or, if it mistakenly didn't get set, set it. The issue I'm having is that I can't figure out a way to keep the function from "clearing" or "deleting" the variable if the cancel button is pressed. The idea is that if the user assigns the variable at the start of the program running (the function is called before anything else happens in the script) then, mistakenly/accidentally, runs the function again and, at the InputBox, the user clicks "Cancel" it will leave the variable alone. Currently, I've been able to (after much trial, tribulation, and troubleshooting) get it actually cancel the operation when "Cancel" is pressed or assign the variable as needed/preferred when the information is entered and "OK" is pressed. However, if "Cancel" is pressed (again, after the variable has already been assigned), it completely clears the variable's assignment (as evidenced by calling the variable in another function. Below is the code for the function. Please let me know if more functions are needed for diagnosis. Func selectAdapter() Global $adapterName $adapterName = InputBox("Select Adapter", "Please input the adapter name" & @CRLF & @CRLF & "or leave it at the default:", "Ethernet") If @error = 1 Then Return EndIf EndFunc
-
Hello, I know you can set flags, e.g. 1, 2, 3 to change the buttons in a MsgBox from "OK" + "Cancel" to "Yes" + "No" + "Cancel", etc... However... 1- Is it possible to manually say what the buttons say? E.g. "Pass" + "Fail"? 2- Is it possible to do that with an InputBox rather than a MsgBox? 3- What in your opinion would be better design for the user? A ) Pressing "Fail" on a MsgBox creates a "InputBox" with only a textbox and "Submit" button? B ) Only being able to press "Fail" on an InputBox if the textbox is not empty? Thank you in advance.
-
Hi, I was wondering is this all inputs can be done in 1 box with 3 fields and not to use another gui. And how can i validate data for example if i don't enter username he prompt me a message box all time until field is empty. I try like this but it give me a msgbox and continue on another field. $username = InputBox("Add new user", "Username", "", "", 200, 130, Default, Default, 0) if $username <> " " then msgbox(0, "", "Please enter username") endif $email = InputBox("Add new user", "Email", "", "", 200, 130, Default, Default, 0) $password = InputBox("Add new user", "Password", "", "*", 200, 130, Default, Default, 0)
-
Hi all, i would like to enter a vlaue to Inputbox 1 an press button1. Script should search value in a text file and put value after "; " to Inputbox 2. #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.2 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <file.au3> $Form1 = GUICreate("Form1", 257, 119, 192, 124) $Input1 = GUICtrlCreateInput("Input1", 15, 35, 121, 21) $Input2 = GUICtrlCreateInput("Input2", 15, 60, 121, 21) $Button1 = GUICtrlCreateButton("Button1", 145, 35, 75, 25) GUISetState(@SW_SHOW) $iLines = _FileCountLines(@ScriptDir & "\data.txt") ;MsgBox(0, "Char read:", $ilines) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 EndSwitch WEnd can anyone help? data.txt
- 9 replies
-
- search value
- text file
-
(and 1 more)
Tagged with:
-
I'm having trouble in making an input box where I can limit the characters that can be inputted. Anybody have an idea how this can be done in Auto IT? Specifically I would like to create an input field where the user would enter a MAC address. What I would like to do is to limit the characters that can be inputted to only HEX values (A-F and 0-9 as well as the - character). This is so that the user cannot input invalid characters. The program is going to be used by very non-technical people, so the idea is to remove as many chances for errors that we can think of. I would also prefer to limit the field to only 17 characters, so that there is only enough space to enter the MAC address with the - character as the separator. Thank you all in advance for any suggestions!
- 12 replies
-
I'm trying to create an inputbox that automatically formats numbers with leading zeroes when the updown control is used. I found an example from Melba23 (see below) that shows a step incremented inputbox, and based on that, I tried to create one that would work, but it does not. I am creating separate inputs for hours and minutes, and I want to make sure the inputbox is always 2 digits. And right up front, I don't pretend to really understand the DLLStruct* calls.. Melba23's sample: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <UpDownConstants.au3> $hGUI = GUICreate("Test", 500, 500) $hInput = GUICtrlCreateInput("5000", 10, 10, 100, 20) $hUpDown = GUICtrlCreateUpdown($hInput, BitOR($UDS_WRAP, $UDS_NOTHOUSANDS)) GUICtrlSetLimit($hUpDown, 6000, 5000) GUISetState() GUIRegisterMsg($WM_NOTIFY, "_WM_NOTIFY") While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func _WM_NOTIFY($hWnd, $iMsg, $wParam, $lParam) ; Is it from the UpDown? If BitAND($wParam, 0xFFFF) = $hUpDown Then ; Create NMUPDOWN structure Local $tStruct = DllStructCreate("hwnd;long;int;long;long", $lParam) ; Is it a change message? If DllStructGetData($tStruct, 3) = 0xFFFFFD2E Then ; $UDN_DELTAPOS ; Alter the change value DllStructSetData($tStruct, 5, 100 * DllStructGetData($tStruct, 5)) EndIf EndIf EndFunc ;~ The NMUPDOWN structure holds: ;~ 1 - Handle of UpDown ;~ 2 - ControlID of UpDown ;~ 3 - Message type sent by UpDown ;~ 4 - Current value of UpDown ;~ 5 - Change to apply to input (+/-1) And here is my non-working sample (it runs, and the initial value shows correctly, but when you hit the updown, you lose the leading zeroes. #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> $hGUI = GUICreate("Window", 300, 100, -1, -1) $Count = 1 Global $hEdit = GUICtrlCreateInput($Count, 15, 15, 100, 30) GUICtrlSetFont(-1, 12, 400, "", "Tahoma") GUICtrlSetData(-1, StringFormat("%03u",$Count)) Global $hUpDown = GUICtrlCreateUpdown(-1) GUICtrlSetLimit(-1, 100, 0) GUISetState() While 1 $hMsg = GUIGetMsg() Switch $hMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func _WM_NOTIFY($hWnd, $iMsg, $wParam, $lParam) ; Is it from the UpDown? If BitAND($wParam, 0xFFFF) = $hUpDown Then ; Create NMUPDOWN structure Local $tStruct = DllStructCreate("hwnd;long;int;long;long", $lParam) ; Is it a change message? If DllStructGetData($tStruct, 3) = 0xFFFFFD2E Then ; $UDN_DELTAPOS ; Alter the change value $ValueToSet = DllStructGetData($tStruct, 4) $ValueToSet = StringFormat("%03u", $ValueToSet) GUICtrlSetData($hEdit, $ValueToSet) EndIf EndIf EndFunc
- 2 replies
-
- inputbox
- leading zeroes
-
(and 1 more)
Tagged with:
-
hey guys, i have a problem . I want to search a file in a particular folder and after inserting the name in the input box i want to make a drop down menu of all the matches and then select it and open it. I need the full code . so please anyone help me on this one.
-
Hey there I want to mark the content of an inputbox when you click on the text inside. Excample: I have an inputbox which has the data "a". When I click inside the inputbox I want the "a" to be highlighted blue, so I can easily copy-paste it out. GUICreate("",300,100) $Input1 = GUICtrlCreateInput("",10,10,50,30) $Input2 = GUICtrlCreateInput("a",100,10,50,30) GUISetState() While True Switch GUIGetMsg() Case -3 Exit EndSwitch WEndI searched google and the forum and did not find anything. Thanks!
-
Hey guys, i'm new with autoit, so i'm having a bit trouble working with GUI and Inputboxes. So i have 3 questions: 1- Why isn't the value (I want to input letters but i tried numbers and it doesn't work also) that i insert in Inputbox1 saving. It just appears in the console: $arr[0][0]:= 2- Why is the value predefined in the others Inputboxes that i don't enter any values numbers. (ex.: $arr[0][1]:=71) And why does it start in the 70 (Inputbox1 when i dont enter any value). 3- How can i limit the Inputboxes to accept only one character. I dont mean write and If seeing if the person just wrote 1 character, i want to make it so the inputbox only let's the user write 1 character. Thank you in advance! #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <MsgBoxConstants.au3> #include <WinAPI.au3> ola() Func ola() #Region ### START Koda GUI section ### Form=c:\users\joaor\desktop\ola.kxf $Form1_1 = GUICreate("Ola", 859, 518, 240, 122) $MenuItem1 = GUICtrlCreateMenu("&File") $MenuItem3 = GUICtrlCreateMenuItem("New", $MenuItem1) $MenuItem4 = GUICtrlCreateMenuItem("Save", $MenuItem1) $MenuItem5 = GUICtrlCreateMenuItem("Save as", $MenuItem1) $MenuItem6 = GUICtrlCreateMenuItem("Exit", $MenuItem1) $MenuItem2 = GUICtrlCreateMenu("&Options") $MenuItem7 = GUICtrlCreateMenuItem("Settings", $MenuItem2) $Label1 = GUICtrlCreateLabel("Coluna 12", 720, 80, 52, 17, $WS_GROUP) $Label2 = GUICtrlCreateLabel("", 104, 80, 4, 4, $WS_GROUP) $Label3 = GUICtrlCreateLabel("Coluna 2", 104, 80, 46, 17, $WS_GROUP) $Label4 = GUICtrlCreateLabel("Coluna 3", 160, 80, 46, 17, $WS_GROUP) $Label5 = GUICtrlCreateLabel("Coluna 4", 216, 80, 46, 17, $WS_GROUP) $Label6 = GUICtrlCreateLabel("Coluna 5", 272, 80, 46, 17, $WS_GROUP) $Label7 = GUICtrlCreateLabel("Coluna 5", 328, 80, 46, 17, $WS_GROUP) $Label8 = GUICtrlCreateLabel("Coluna 6", 384, 80, 46, 17, $WS_GROUP) $Label9 = GUICtrlCreateLabel("Coluna 7", 440, 80, 46, 17, $WS_GROUP) $Label10 = GUICtrlCreateLabel("Coluna 9", 552, 80, 46, 17, $WS_GROUP) $Label11 = GUICtrlCreateLabel("Coluna 8", 496, 80, 46, 17, $WS_GROUP) $Label12 = GUICtrlCreateLabel("Coluna 1", 48, 80, 46, 17, $WS_GROUP) $Label13 = GUICtrlCreateLabel("Coluna 11", 664, 80, 52, 17, $WS_GROUP) $Label14 = GUICtrlCreateLabel("Coluna 10", 608, 80, 52, 17, $WS_GROUP) $Label15 = GUICtrlCreateLabel("Linha 1", 0, 120, 39, 17, $WS_GROUP) $Label16 = GUICtrlCreateLabel("Linha 2", 0, 144, 39, 17, $WS_GROUP) $Label17 = GUICtrlCreateLabel("Linha 3", 0, 168, 39, 17, $WS_GROUP) $Label18 = GUICtrlCreateLabel("Linha 4", 0, 192, 39, 17, $WS_GROUP) $Label19 = GUICtrlCreateLabel("Mabe by J.Ribas", 688, 472, 83, 17, $WS_GROUP) $Label20 = GUICtrlCreateLabel("Linha 5", 0, 216, 39, 17, $WS_GROUP) $Label21 = GUICtrlCreateLabel("Linha 6", 0, 240, 39, 17, $WS_GROUP) $Label22 = GUICtrlCreateLabel("Linha 7", 0, 264, 39, 17, $WS_GROUP) $Label23 = GUICtrlCreateLabel("Linha 8", 0, 288, 39, 17, $WS_GROUP) $Label24 = GUICtrlCreateLabel("Número de Aluno:", 0, 24, 89, 17, $WS_GROUP) $Label25 = GUICtrlCreateLabel("Sexo:", 208, 24, 31, 17, $WS_GROUP) $Label26 = GUICtrlCreateLabel("Ano:", 64, 48, 26, 17, $WS_GROUP) $Label27 = GUICtrlCreateLabel("Turma:", 208, 48, 37, 17, $WS_GROUP) $Label28 = GUICtrlCreateLabel("Linha 9", 0, 312, 39, 17, $WS_GROUP) $Label29 = GUICtrlCreateLabel("Linha 10", 0, 336, 45, 17, $WS_GROUP) $Label30 = GUICtrlCreateLabel("Linha 11", 0, 360, 45, 17, $WS_GROUP) $Label31 = GUICtrlCreateLabel("Linha 12", 0, 384, 45, 17, $WS_GROUP) $Label32 = GUICtrlCreateLabel("Linha 13", 0, 408, 45, 17, $WS_GROUP) $Label33 = GUICtrlCreateLabel("Linha 14", 0, 432, 45, 17, $WS_GROUP) $Label34 = GUICtrlCreateLabel(" +", 48, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label35 = GUICtrlCreateLabel(" -", 72, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label36 = GUICtrlCreateLabel(" +", 104, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label37 = GUICtrlCreateLabel(" -", 128, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label38 = GUICtrlCreateLabel(" +", 160, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label39 = GUICtrlCreateLabel(" -", 184, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label40 = GUICtrlCreateLabel(" +", 216, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label41 = GUICtrlCreateLabel(" -", 240, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label42 = GUICtrlCreateLabel(" +", 272, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label43 = GUICtrlCreateLabel(" -", 296, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label44 = GUICtrlCreateLabel(" +", 328, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label45 = GUICtrlCreateLabel(" -", 352, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label46 = GUICtrlCreateLabel(" +", 384, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label47 = GUICtrlCreateLabel(" -", 408, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label48 = GUICtrlCreateLabel(" +", 440, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label49 = GUICtrlCreateLabel(" -", 464, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label50 = GUICtrlCreateLabel(" +", 496, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label51 = GUICtrlCreateLabel(" -", 520, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label52 = GUICtrlCreateLabel(" +", 552, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label53 = GUICtrlCreateLabel(" -", 576, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label54 = GUICtrlCreateLabel(" +", 608, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label55 = GUICtrlCreateLabel(" -", 632, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label56 = GUICtrlCreateLabel(" +", 664, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label57 = GUICtrlCreateLabel(" -", 688, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label58 = GUICtrlCreateLabel(" +", 720, 96, 21, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label59 = GUICtrlCreateLabel(" -", 744, 96, 17, 24, $WS_GROUP) GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif") $Label60 = GUICtrlCreateLabel("Resultados", 792, 96, 57, 17, $WS_GROUP) $Input1 = GUICtrlCreateInput("", 88, 24, 73, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input2 = GUICtrlCreateInput("", 248, 24, 73, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input3 = GUICtrlCreateInput("", 88, 48, 73, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input4 = GUICtrlCreateInput("", 248, 48, 73, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input5 = GUICtrlCreateInput("", 48, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input6 = GUICtrlCreateInput("", 72, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input7 = GUICtrlCreateInput("", 104, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input8 = GUICtrlCreateInput("", 128, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input9 = GUICtrlCreateInput("", 160, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input10 = GUICtrlCreateInput("", 184, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input11 = GUICtrlCreateInput("", 216, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input12 = GUICtrlCreateInput("", 240, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input13 = GUICtrlCreateInput("", 272, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input14 = GUICtrlCreateInput("", 296, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input15 = GUICtrlCreateInput("", 328, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input16 = GUICtrlCreateInput("", 352, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input17 = GUICtrlCreateInput("", 384, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input18 = GUICtrlCreateInput("", 408, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input19 = GUICtrlCreateInput("", 440, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input20 = GUICtrlCreateInput("", 464, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input21 = GUICtrlCreateInput("", 496, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input22 = GUICtrlCreateInput("", 520, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input23 = GUICtrlCreateInput("", 552, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input24 = GUICtrlCreateInput("", 576, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input25 = GUICtrlCreateInput("", 608, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input26 = GUICtrlCreateInput("", 632, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input27 = GUICtrlCreateInput("", 664, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input28 = GUICtrlCreateInput("", 688, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input29 = GUICtrlCreateInput("", 720, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input30 = GUICtrlCreateInput("", 744, 120, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input31 = GUICtrlCreateInput("", 48, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input32 = GUICtrlCreateInput("", 72, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input33 = GUICtrlCreateInput("", 104, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input34 = GUICtrlCreateInput("", 128, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input35 = GUICtrlCreateInput("", 160, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input36 = GUICtrlCreateInput("", 184, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input37 = GUICtrlCreateInput("", 216, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input38 = GUICtrlCreateInput("", 240, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input39 = GUICtrlCreateInput("", 272, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input40 = GUICtrlCreateInput("", 296, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input41 = GUICtrlCreateInput("", 328, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input42 = GUICtrlCreateInput("", 352, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input43 = GUICtrlCreateInput("", 384, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input44 = GUICtrlCreateInput("", 408, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input45 = GUICtrlCreateInput("", 440, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input46 = GUICtrlCreateInput("", 464, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input47 = GUICtrlCreateInput("", 496, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input48 = GUICtrlCreateInput("", 520, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input49 = GUICtrlCreateInput("", 552, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input50 = GUICtrlCreateInput("", 576, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input51 = GUICtrlCreateInput("", 608, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input52 = GUICtrlCreateInput("", 632, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input53 = GUICtrlCreateInput("", 664, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input54 = GUICtrlCreateInput("", 688, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input55 = GUICtrlCreateInput("", 720, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input56 = GUICtrlCreateInput("", 744, 144, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input57 = GUICtrlCreateInput("", 48, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input58 = GUICtrlCreateInput("", 72, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input59 = GUICtrlCreateInput("", 104, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input60 = GUICtrlCreateInput("", 128, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input61 = GUICtrlCreateInput("", 160, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input62 = GUICtrlCreateInput("", 184, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input63 = GUICtrlCreateInput("", 216, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input64 = GUICtrlCreateInput("", 240, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input65 = GUICtrlCreateInput("", 272, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input66 = GUICtrlCreateInput("", 296, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input67 = GUICtrlCreateInput("", 328, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input68 = GUICtrlCreateInput("", 352, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input69 = GUICtrlCreateInput("", 384, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input70 = GUICtrlCreateInput("", 408, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input71 = GUICtrlCreateInput("", 440, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input72 = GUICtrlCreateInput("", 464, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input73 = GUICtrlCreateInput("", 496, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input74 = GUICtrlCreateInput("", 520, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input75 = GUICtrlCreateInput("", 552, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input76 = GUICtrlCreateInput("", 576, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input77 = GUICtrlCreateInput("", 608, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input78 = GUICtrlCreateInput("", 632, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input79 = GUICtrlCreateInput("", 664, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input80 = GUICtrlCreateInput("", 688, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input81 = GUICtrlCreateInput("", 720, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input82 = GUICtrlCreateInput("", 744, 168, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input83 = GUICtrlCreateInput("", 48, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input84 = GUICtrlCreateInput("", 72, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input85 = GUICtrlCreateInput("", 104, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input86 = GUICtrlCreateInput("", 128, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input87 = GUICtrlCreateInput("", 160, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input88 = GUICtrlCreateInput("", 184, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input89 = GUICtrlCreateInput("", 216, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input90 = GUICtrlCreateInput("", 240, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input91 = GUICtrlCreateInput("", 272, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input92 = GUICtrlCreateInput("", 296, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input93 = GUICtrlCreateInput("", 328, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input94 = GUICtrlCreateInput("", 352, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input95 = GUICtrlCreateInput("", 384, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input96 = GUICtrlCreateInput("", 408, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input97 = GUICtrlCreateInput("", 440, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input98 = GUICtrlCreateInput("", 464, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input99 = GUICtrlCreateInput("", 496, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input100 = GUICtrlCreateInput("", 520, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input101 = GUICtrlCreateInput("", 552, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input102 = GUICtrlCreateInput("", 576, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input103 = GUICtrlCreateInput("", 608, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input104 = GUICtrlCreateInput("", 632, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input105 = GUICtrlCreateInput("", 664, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input106 = GUICtrlCreateInput("", 688, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input107 = GUICtrlCreateInput("", 720, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input108 = GUICtrlCreateInput("", 744, 192, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input109 = GUICtrlCreateInput("", 48, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input110 = GUICtrlCreateInput("", 72, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input111 = GUICtrlCreateInput("", 104, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input112 = GUICtrlCreateInput("", 128, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input113 = GUICtrlCreateInput("", 160, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input114 = GUICtrlCreateInput("", 184, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input115 = GUICtrlCreateInput("", 216, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input116 = GUICtrlCreateInput("", 240, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input117 = GUICtrlCreateInput("", 272, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input118 = GUICtrlCreateInput("", 296, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input119 = GUICtrlCreateInput("", 328, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input120 = GUICtrlCreateInput("", 352, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input121 = GUICtrlCreateInput("", 384, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input122 = GUICtrlCreateInput("", 408, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input123 = GUICtrlCreateInput("", 440, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input124 = GUICtrlCreateInput("", 464, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input125 = GUICtrlCreateInput("", 496, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input126 = GUICtrlCreateInput("", 520, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input127 = GUICtrlCreateInput("", 552, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input128 = GUICtrlCreateInput("", 576, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input129 = GUICtrlCreateInput("", 608, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input130 = GUICtrlCreateInput("", 632, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input131 = GUICtrlCreateInput("", 664, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input132 = GUICtrlCreateInput("", 688, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input133 = GUICtrlCreateInput("", 720, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input134 = GUICtrlCreateInput("", 744, 216, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input135 = GUICtrlCreateInput("", 48, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input136 = GUICtrlCreateInput("", 72, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input137 = GUICtrlCreateInput("", 104, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input138 = GUICtrlCreateInput("", 128, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input139 = GUICtrlCreateInput("", 160, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input140 = GUICtrlCreateInput("", 184, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input141 = GUICtrlCreateInput("", 216, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input142 = GUICtrlCreateInput("", 240, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input143 = GUICtrlCreateInput("", 272, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input144 = GUICtrlCreateInput("", 296, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input145 = GUICtrlCreateInput("", 328, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input146 = GUICtrlCreateInput("", 352, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input147 = GUICtrlCreateInput("", 384, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input148 = GUICtrlCreateInput("", 408, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input149 = GUICtrlCreateInput("", 440, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input150 = GUICtrlCreateInput("", 464, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input151 = GUICtrlCreateInput("", 496, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input152 = GUICtrlCreateInput("", 520, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input153 = GUICtrlCreateInput("", 552, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input154 = GUICtrlCreateInput("", 576, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input155 = GUICtrlCreateInput("", 608, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input156 = GUICtrlCreateInput("", 632, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input157 = GUICtrlCreateInput("", 664, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input158 = GUICtrlCreateInput("", 688, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input159 = GUICtrlCreateInput("", 720, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input160 = GUICtrlCreateInput("", 744, 240, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input161 = GUICtrlCreateInput("", 48, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input162 = GUICtrlCreateInput("", 72, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input163 = GUICtrlCreateInput("", 104, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input164 = GUICtrlCreateInput("", 128, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input165 = GUICtrlCreateInput("", 160, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input166 = GUICtrlCreateInput("", 184, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input167 = GUICtrlCreateInput("", 216, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input168 = GUICtrlCreateInput("", 240, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input169 = GUICtrlCreateInput("", 272, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input170 = GUICtrlCreateInput("", 296, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input171 = GUICtrlCreateInput("", 328, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input172 = GUICtrlCreateInput("", 352, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input173 = GUICtrlCreateInput("", 384, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input174 = GUICtrlCreateInput("", 408, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input175 = GUICtrlCreateInput("", 440, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input176 = GUICtrlCreateInput("", 464, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input177 = GUICtrlCreateInput("", 496, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input178 = GUICtrlCreateInput("", 520, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input179 = GUICtrlCreateInput("", 552, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input180 = GUICtrlCreateInput("", 576, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input181 = GUICtrlCreateInput("", 608, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input182 = GUICtrlCreateInput("", 632, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input183 = GUICtrlCreateInput("", 664, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input184 = GUICtrlCreateInput("", 688, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input185 = GUICtrlCreateInput("", 720, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input186 = GUICtrlCreateInput("", 744, 264, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input187 = GUICtrlCreateInput("", 48, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input188 = GUICtrlCreateInput("", 72, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input189 = GUICtrlCreateInput("", 104, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input190 = GUICtrlCreateInput("", 128, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input191 = GUICtrlCreateInput("", 160, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input192 = GUICtrlCreateInput("", 184, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input193 = GUICtrlCreateInput("", 216, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input194 = GUICtrlCreateInput("", 240, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input195 = GUICtrlCreateInput("", 272, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input196 = GUICtrlCreateInput("", 296, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input197 = GUICtrlCreateInput("", 328, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input198 = GUICtrlCreateInput("", 352, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input199 = GUICtrlCreateInput("", 384, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input200 = GUICtrlCreateInput("", 408, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input201 = GUICtrlCreateInput("", 440, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input202 = GUICtrlCreateInput("", 464, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input203 = GUICtrlCreateInput("", 496, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input204 = GUICtrlCreateInput("", 520, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input205 = GUICtrlCreateInput("", 552, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input206 = GUICtrlCreateInput("", 576, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input207 = GUICtrlCreateInput("", 608, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input208 = GUICtrlCreateInput("", 632, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input209 = GUICtrlCreateInput("", 664, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input210 = GUICtrlCreateInput("", 688, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input211 = GUICtrlCreateInput("", 720, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input212 = GUICtrlCreateInput("", 744, 288, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input213 = GUICtrlCreateInput("", 48, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input214 = GUICtrlCreateInput("", 72, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input215 = GUICtrlCreateInput("", 104, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input216 = GUICtrlCreateInput("", 128, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input217 = GUICtrlCreateInput("", 160, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input218 = GUICtrlCreateInput("", 184, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input219 = GUICtrlCreateInput("", 216, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input220 = GUICtrlCreateInput("", 240, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input221 = GUICtrlCreateInput("", 272, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input222 = GUICtrlCreateInput("", 296, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input223 = GUICtrlCreateInput("", 328, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input224 = GUICtrlCreateInput("", 352, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input225 = GUICtrlCreateInput("", 384, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input226 = GUICtrlCreateInput("", 408, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input227 = GUICtrlCreateInput("", 440, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input228 = GUICtrlCreateInput("", 464, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input229 = GUICtrlCreateInput("", 496, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input230 = GUICtrlCreateInput("", 520, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input231 = GUICtrlCreateInput("", 552, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input232 = GUICtrlCreateInput("", 576, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input233 = GUICtrlCreateInput("", 608, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input234 = GUICtrlCreateInput("", 632, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input235 = GUICtrlCreateInput("", 664, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input236 = GUICtrlCreateInput("", 688, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input237 = GUICtrlCreateInput("", 720, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input238 = GUICtrlCreateInput("", 744, 312, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input239 = GUICtrlCreateInput("", 48, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input240 = GUICtrlCreateInput("", 72, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input241 = GUICtrlCreateInput("", 104, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input242 = GUICtrlCreateInput("", 128, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input243 = GUICtrlCreateInput("", 160, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input244 = GUICtrlCreateInput("", 184, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input245 = GUICtrlCreateInput("", 216, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input246 = GUICtrlCreateInput("", 240, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input247 = GUICtrlCreateInput("", 272, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input248 = GUICtrlCreateInput("", 296, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input249 = GUICtrlCreateInput("", 328, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input250 = GUICtrlCreateInput("", 352, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input251 = GUICtrlCreateInput("", 384, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input252 = GUICtrlCreateInput("", 408, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input253 = GUICtrlCreateInput("", 440, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input254 = GUICtrlCreateInput("", 464, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input255 = GUICtrlCreateInput("", 496, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input256 = GUICtrlCreateInput("", 520, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input257 = GUICtrlCreateInput("", 552, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input258 = GUICtrlCreateInput("", 576, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input259 = GUICtrlCreateInput("", 608, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input260 = GUICtrlCreateInput("", 632, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input261 = GUICtrlCreateInput("", 664, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input262 = GUICtrlCreateInput("", 688, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input263 = GUICtrlCreateInput("", 720, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input264 = GUICtrlCreateInput("", 744, 336, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input265 = GUICtrlCreateInput("", 48, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input266 = GUICtrlCreateInput("", 72, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input267 = GUICtrlCreateInput("", 104, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input268 = GUICtrlCreateInput("", 128, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input269 = GUICtrlCreateInput("", 160, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input270 = GUICtrlCreateInput("", 184, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input271 = GUICtrlCreateInput("", 216, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input272 = GUICtrlCreateInput("", 240, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input273 = GUICtrlCreateInput("", 272, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input274 = GUICtrlCreateInput("", 296, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input275 = GUICtrlCreateInput("", 328, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input276 = GUICtrlCreateInput("", 352, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input277 = GUICtrlCreateInput("", 384, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input278 = GUICtrlCreateInput("", 408, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input279 = GUICtrlCreateInput("", 440, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input280 = GUICtrlCreateInput("", 464, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input281 = GUICtrlCreateInput("", 496, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input282 = GUICtrlCreateInput("", 520, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input283 = GUICtrlCreateInput("", 552, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input284 = GUICtrlCreateInput("", 576, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input285 = GUICtrlCreateInput("", 608, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input286 = GUICtrlCreateInput("", 632, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input287 = GUICtrlCreateInput("", 664, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input288 = GUICtrlCreateInput("", 688, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input289 = GUICtrlCreateInput("", 720, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input290 = GUICtrlCreateInput("", 744, 360, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input291 = GUICtrlCreateInput("", 48, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input292 = GUICtrlCreateInput("", 72, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input293 = GUICtrlCreateInput("", 104, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input294 = GUICtrlCreateInput("", 128, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input295 = GUICtrlCreateInput("", 160, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input296 = GUICtrlCreateInput("", 184, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input297 = GUICtrlCreateInput("", 216, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input298 = GUICtrlCreateInput("", 240, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input299 = GUICtrlCreateInput("", 272, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input300 = GUICtrlCreateInput("", 296, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input301 = GUICtrlCreateInput("", 328, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input302 = GUICtrlCreateInput("", 352, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input303 = GUICtrlCreateInput("", 384, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input304 = GUICtrlCreateInput("", 408, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input305 = GUICtrlCreateInput("", 440, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input306 = GUICtrlCreateInput("", 464, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input307 = GUICtrlCreateInput("", 496, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input308 = GUICtrlCreateInput("", 520, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input309 = GUICtrlCreateInput("", 552, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input310 = GUICtrlCreateInput("", 576, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input311 = GUICtrlCreateInput("", 608, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input312 = GUICtrlCreateInput("", 632, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input313 = GUICtrlCreateInput("", 664, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input314 = GUICtrlCreateInput("", 688, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input315 = GUICtrlCreateInput("", 720, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input316 = GUICtrlCreateInput("", 744, 384, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input317 = GUICtrlCreateInput("", 48, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input318 = GUICtrlCreateInput("", 72, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input319 = GUICtrlCreateInput("", 104, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input320 = GUICtrlCreateInput("", 128, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input321 = GUICtrlCreateInput("", 160, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input322 = GUICtrlCreateInput("", 184, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input323 = GUICtrlCreateInput("", 216, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input324 = GUICtrlCreateInput("", 240, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input325 = GUICtrlCreateInput("", 272, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input326 = GUICtrlCreateInput("", 296, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input327 = GUICtrlCreateInput("", 328, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input328 = GUICtrlCreateInput("", 352, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input329 = GUICtrlCreateInput("", 384, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input330 = GUICtrlCreateInput("", 408, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input331 = GUICtrlCreateInput("", 440, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input332 = GUICtrlCreateInput("", 464, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input333 = GUICtrlCreateInput("", 496, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input334 = GUICtrlCreateInput("", 520, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input335 = GUICtrlCreateInput("", 552, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input336 = GUICtrlCreateInput("", 576, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input337 = GUICtrlCreateInput("", 608, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input338 = GUICtrlCreateInput("", 632, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input339 = GUICtrlCreateInput("", 664, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input340 = GUICtrlCreateInput("", 688, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input341 = GUICtrlCreateInput("", 720, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input342 = GUICtrlCreateInput("", 744, 408, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input343 = GUICtrlCreateInput("", 48, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input344 = GUICtrlCreateInput("", 72, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input345 = GUICtrlCreateInput("", 104, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input346 = GUICtrlCreateInput("", 128, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input347 = GUICtrlCreateInput("", 160, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input348 = GUICtrlCreateInput("", 184, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input349 = GUICtrlCreateInput("", 216, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input350 = GUICtrlCreateInput("", 240, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input351 = GUICtrlCreateInput("", 272, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input352 = GUICtrlCreateInput("", 296, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input353 = GUICtrlCreateInput("", 328, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input354 = GUICtrlCreateInput("", 352, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input355 = GUICtrlCreateInput("", 384, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input356 = GUICtrlCreateInput("", 408, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input357 = GUICtrlCreateInput("", 440, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input358 = GUICtrlCreateInput("", 464, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input359 = GUICtrlCreateInput("", 496, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input360 = GUICtrlCreateInput("", 520, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input361 = GUICtrlCreateInput("", 552, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input362 = GUICtrlCreateInput("", 576, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input363 = GUICtrlCreateInput("", 608, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input364 = GUICtrlCreateInput("", 632, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input365 = GUICtrlCreateInput("", 664, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input366 = GUICtrlCreateInput("", 688, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input367 = GUICtrlCreateInput("", 720, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $Input368 = GUICtrlCreateInput("", 744, 432, 25, 21, BitOR($ES_AUTOHSCROLL,$WS_GROUP)) $idButton_1 = GUICtrlCreateButton("Calculate", 640, 32, 75, 25, $WS_GROUP) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $idMsg = GUIGetMsg() Select Case $idMsg=$GUI_EVENT_CLOSE ExitLoop Case $idMsg = $idButton_1 $hello=GUICtrlRead($Input1) Local $arr[12][28] = [[$hello, $Input2, $Input3, $Input4, $Input5, $Input6, $Input7, $Input8, $Input9, $Input10, $Input11, $Input12, $Input13, $Input14, $Input15, $Input16, $Input17, $Input18, $Input19, $Input20, $Input21, $Input22, $Input23, $Input24, $Input25, $Input26, $Input27, $Input28],[$Input29, $Input30, $Input31, $Input32, $Input33, $Input34, $Input35, $Input36, $Input37, $Input38, $Input39, $Input40, $Input41, $Input42, $Input43, $Input44, $Input45, $Input46, $Input47, $Input48, $Input49, $Input50, $Input51, $Input52, $Input53, $Input54, $Input55, $Input56],[$Input57, $Input58, $Input59, $Input60, $Input61, $Input62, $Input63, $Input64, $Input65, $Input66, $Input67, $Input68, $Input69, $Input70, $Input71, $Input72, $Input73, $Input74, $Input75, $Input76, $Input77, $Input78, $Input79, $Input80, $Input81, $Input82, $Input83, $Input84],[$Input85, $Input86, $Input87, $Input88, $Input89, $Input90, $Input91, $Input92, $Input93, $Input94, $Input95, $Input96, $Input97, $Input98, $Input99, $Input100, $Input101, $Input102, $Input103, $Input104, $Input105, $Input106, $Input107, $Input108, $Input109, $Input110, $Input111, $Input112],[$Input113, $Input114, $Input115, $Input116, $Input117, $Input118, $Input119, $Input120, $Input121, $Input122, $Input123, $Input124, $Input125, $Input126, $Input127, $Input128, $Input129, $Input130, $Input131, $Input132, $Input133, $Input134, $Input135, $Input136, $Input137, $Input138, $Input139, $Input140],[$Input141, $Input142, $Input143, $Input144, $Input145, $Input146, $Input147, $Input148, $Input149, $Input150, $Input151, $Input152, $Input153, $Input154, $Input155, $Input156, $Input157, $Input158, $Input159, $Input160, $Input161, $Input162, $Input163, $Input164, $Input165, $Input166, $Input167, $Input168],[$Input169, $Input170, $Input171, $Input172, $Input173, $Input174, $Input175, $Input176, $Input177, $Input178, $Input179, $Input180, $Input181, $Input182, $Input183, $Input184, $Input185, $Input186, $Input187, $Input188, $Input189, $Input190, $Input191, $Input192, $Input193, $Input194, $Input195, $Input196],[$Input197, $Input198, $Input199, $Input200, $Input201, $Input202, $Input203, $Input204, $Input205, $Input206, $Input207, $Input208, $Input209, $Input210, $Input211, $Input212, $Input213, $Input214, $Input215, $Input216, $Input217, $Input218, $Input219, $Input220, $Input221, $Input222, $Input223, $Input224],[$Input225, $Input226, $Input227, $Input228, $Input229, $Input230, $Input231, $Input232, $Input233, $Input234, $Input235, $Input236, $Input237, $Input238, $Input239, $Input240, $Input241, $Input242, $Input243, $Input244, $Input245, $Input246, $Input247, $Input248, $Input249, $Input250, $Input251, $Input252],[$Input253, $Input254, $Input255, $Input256, $Input257, $Input258, $Input259, $Input260, $Input261, $Input262, $Input263, $Input264, $Input265, $Input266, $Input267, $Input268, $Input269, $Input270, $Input271, $Input272, $Input273, $Input274, $Input275, $Input276, $Input277, $Input278, $Input279, $Input280],[$Input281, $Input282, $Input283, $Input284, $Input285, $Input286, $Input287, $Input288, $Input289, $Input290, $Input291, $Input292, $Input293, $Input294, $Input295, $Input296, $Input297, $Input298, $Input299, $Input300, $Input301, $Input302, $Input303, $Input304, $Input305, $Input306, $Input307, $Input308],[$Input309, $Input310, $Input311, $Input312, $Input313, $Input314, $Input315, $Input316, $Input317, $Input318, $Input319, $Input320, $Input321, $Input322, $Input323, $Input324, $Input325, $Input326, $Input327, $Input328, $Input329, $Input330, $Input331, $Input332, $Input333, $Input334, $Input335, $Input336]] For $i = 0 to UBound( $arr, 1) - 1 For $j = 0 to UBound($arr, 2) - 1 ConsoleWrite("$arr[" & $i & "][" & $j & "]:=" & $arr[$i][$j] & @LF) Next Next EndSelect WEnd Exit EndFunc
-
Hello Guys, Im new on Autoit and i need help. My english is not good but i will try to explain what i pretend. In a Inputbox i pretend a Date! Like this: 12 September 2015. But show me this: 12 09 2015. I want in a Portuguese Language too. I use this: $TribunalLabel = GUICtrlCreateLabel("Tribunal da Comarca de Lisboa Norte", 8, 232, 301, 24) GUICtrlSetFont(-1, 12, 800, 0, "MS Sans Serif") $Dia = GUICtrlCreateLabel("Dia", 8, 256, 31, 24) GUICtrlSetFont(-1, 12, 800, 0, "MS Sans Serif") $DiadeTribunal = GUICtrlCreateInput((@MDAY+1 & "-" & @MON & "-" &@YEAR), 72, 256, 241, 21) finally the best, if someone can help me to make this: Saturday, 12 September 2015. thanks very much! Full text autoit:
-
Hi, I'm very new to Autoit, and I have simple project that assigned to me. Basically, what I would like to do is to send a date value to cmd-console from four input box (inputbox1=YYYY, inputbox2=MM, inputbox3=DD and inoutbox4=HH)and send it using button. I can't figure on how to read the value from these inputboxs and using pushbutton it will send the value to cmd console like C:YYYY/MM/DD/HH I don't haven't started any code as I don't know how to start. Appreciate your help. Thank you.
-
Hi all, So ive had a form for a while now, which the input boxes don't always display correctly, easiest way is to show you so plz see example.png As you can see all the input boxes except for the third column are not showing correctly, if I hover my mouse over them they then do, which is what I did for the boxes in the third row for the example. Anyone got any idea of the cause and the fix?
-
hello guys part of my script: If WinActivate ("Lettres1 - Message","") = True Then $Ticket = InputBox ("Numero de ticket" , "Indiquez votre numero de ticket pour: -Intervention-","" ) BlockInput(1) Send ("{LSHIFT Down}") Sleep (10) Send ("{TAB}") Send ("{LSHIFT Up}") Sleep (100) Send ($IDe) Sleep (100) ;~ Send ("{Enter}") Sleep (100) Send ("{TAB}") Sleep (100) Send ($IDestinataire1) Sleep (100) Send ("{;}") Send ($IDestinataire2) Sleep (100) Send ("{;}") Send ("{TAB}") Send ($ICopie1) Sleep (100) Send ("{;}") Send ($ICopie2) Sleep (100) Send ("{;}") Send ("{TAB}") Send ("{DEL}") Send ("{DEL}") Send ("{DEL}") Send ("{DEL}") Send ("{DEL}") Send ("{DEL}") Send ("{DEL}") Send ("{DEL}") Send ($IObjet) Send ($Ticket) Send (")") Send ("{TAB}") Send ("{TAB}") Send ($IMessage) Send ("{ENTER}") Send ($IMessage2) Send ("{ENTER}") Send ($IMessage3) Send ("!i") Send ("s") Send ("{Enter}") BlockInput(0) EndIf EndFunc my script working very nice but i whant to improve it but i dont know how to use the @error on input box i just whant to make my script do that :in the input box the cancel button is pressed then go to (function): **** () Arround line 2 or 3
-
Here is my code: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> HotKeySet("#{F4}", "_exit") ; Win + F4 to exit GUICreate("", 300, 300) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() WEnd Func _exit() Do $Pass = InputBox ("Password", "Please enter your password", "", "*M") WinSetOnTop($Pass,'', 1) $Split = StringSplit ($Pass, "") If $Split[0] Then $ConfirmPass = "secret" If $Pass <> $ConfirmPass Then MsgBox (48, "Error", "Passwords do not match!!") EndIf Until $Pass = $ConfirmPass If $ConfirmPass Then SplashTextOn( "Closing", "Closing without sending email", 300, 50) Sleep(3000) Exit EndIf EndFunc ;==> _exit The gui opens fine however when I go to close the gui (#+F4) and press the cancel button, on the inputbox, it gives me the following error: C:UsersAdminDesktopTest.au3 (25) : ==> Variable used without being declared.: Until $Pass = $ConfirmPass Until $Pass = ^ Error What am I doing wrong? I have some screenshots if they will help. Thanks in advance.