Jump to content

Search the Community

Showing results for tags 'inputbox'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


WWW


Interests

  1. 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 an
  2. 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
  3. 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
  4. 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(&q
  5. 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,
  6. Hi, Is there any possibility to change the cancel button text to quit in the Inputbox?
  7. 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
  8. 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
  9. 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.
  10. 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 = "p
  11. Hey anyone knows how i can have a inputbox that is connected to an HotKeySet? Like if u put in like "a" in the inputbox it sets the hotkey to "a"?
  12. 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&quo
  13. 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 <
  14. 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
  15. 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 <UpDown
  16. 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.
  17. 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!
  18. 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
  19. 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,
  20. 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.
  21. 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?
  22. 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
  23. 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
  24. I created a search GUI with an InputBox and a Button to empty the input box. I read the inputbox using GuiCtrlRead and empty the input box using GUICtrlSetData. When I click a search button or click the "empty inputbox" button, everything works fine. However after having done the 1st search and I click again on the search button or whatever other button the input box field is not updated GUICtrlRead($RWSearch) --> gives a value '0' What did I wrong? Same thing when I empty the input box. The 1st time it works well. When I empty the inputbox after having done a search it doesn
×
×
  • Create New...