Jump to content

Search the Community

Showing results for tags 'buttons'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


  • 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


Last Updated

  • Start


Filter by number of...


  • Start






Found 15 results

  1. I check this snippet: https://www.autoitscript.com/wiki/Snippets_(_GUI_)#GUI_With_Scrollable_TabItem Modified them and I refactored. That's because I needed to adapt it to my needs (I'll write later). I thought I understood how it works. But I was wrong. This is my example which is showing what I want to achieve. #include <AutoItConstants.au3> #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <GuiScrollBars.au3> #include <GUIScrollbars_Ex.au3> #include <StringConstants.au3> #include <StructureConsta
  2. This roundup of "virtual keyboards" (https://www.buttoncommander.com/en/input-devices/difference-between-hotkeyboard-devices-and-keyboard-devices/) inspired me to create this simple "LaunchPad" script. with this script you can easily create panels with buttons for starting programs, but not only, you can also associate macros, shortcuts, functions with the buttons ... In short, the $aTools 2D array contains the settings that determine the behavior of each "Button", namely 4 parameters for each row (for each button); [n][0] the tooltip of the button [n][1] path of an icon or a file con
  3. Often I need to create a panel to monitor a lot of things (users, files, items etc) so I use this piece of code to create a dynamic grid of buttons. The number of buttons is variable, and it's related to the size of the gui, the size of the buttons and the distance between buttons. Every "button" is a set of three with a real button stacked on the top of two labels, imagine reading a .CSV file or an array or a database and displaying all the things using the labels (Text and COLOR too) and clickin' on the relative button you can call further info on the item or call a particular func
  4. Hi dear I have a request I want a simplified example of how to create the toolbar With an example of pressing the buttons inside this bar for example Toolbar contains Three buttons open, save, And delete and i want If i press a button from among these buttons a MSGBox appears I know this is easy But I did not know how to do it I hope you help me I apologize for the inconvenience Thank you in advance
  5. Hello to all, my problem is to have in the same gui buttons (static and dinamically generated ones) and an edit control. The gui also adjust its height in function of button number. Below you see an ugly interface and the long buttons at the bottom are dinamically generated reading from a txt file. Because I have "static" buttons and dynamically generated ones it's not workin' well your method, also the EDIT area is updated (is a live log) and this is detected as GUI events, and this makes the guigetmsg() "dirty". Have you any ideas to make it work in better way ? I
  6. OK, still learning SOLVED! $WS_EX_COMPOSITED hides buttons? I've read, run examples but cannot show action buttons in tabs in a GUI. I've run the GUICtrlCreateTabItem function example and, of course, it works. Mine doesn't: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <WinAPI.au3> #include <MenuConstants.au3> #include <TabConstants.au3> #include <ColorConstants.au3> $hGUI = GUICreate("My GUI Tab", @DesktopWidth * 1, @DesktopHeight * 1, 0, 0,-1, $WS_EX_COMPOSITED) $hTab = GUICtrlCreateTab(10,
  7. Hello I got problem with my form cause i got some buttons, labels, inputs and now i want organize this in tabs. There is a problem, when i put new tab this tab is on bottom and this is above my buttons or button is show on whole form , not only in one tab. How to deal with it
  8. A function is started and creates a GUI with two buttons. If either of those are pressed, the function will return a value, which will be used to start another function. However, only one of those two buttons works. Local $gui = GUICreate("Crypt", 120, 130) Local $button0 = GUICtrlCreateButton("Encrypt", 10, 10, 100, 50) Local $button1 = GUICtrlCreateButton("Decrypt", 10, 70, 100, 50) GUISetState(@SW_SHOW, $gui) While 1 If GUIGetMsg() = $button0 Then GUISetState(@SW_HIDE, $gui) GUIDelete($gui) Return 1 ElseIf GUIGetM
  9. Hello, I wanted to know if it was possible to auto-generate buttons from a ini file. The thought was to read the ini and for each value create a button for it. Now I would like to have the buttons places from left to right then after lets say 5 buttons have created move down to the next row and start again with lets say a limit of 8 rows. INI example: [Buttons] Button1Text=Test 1 Button1Command=http://google.com Button2Text=Test 2Button2Command=cmd.exe Any help would be appreciated
  10. Hi everyone, I'm facing a little issue here. After creating a GUI coming from a button action, the GUI seems not to work anymore. Here's what I wrote so far: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <GuiTreeView.au3> #include <TabConstants.au3> #include <EditConstants.au3> #include <AD.au3> #include <GuiTab.au3> #include <Array.au3> #include <ButtonConstants.au3> #include <ColorConstants.au3> #include <ComboConstants.au3> #Include <Constants.au3> #include <Crypt.au3> #in
  11. Hello, First of all, please don't mind my english, i am from Germany. And i have a problem in AutoIt: I want to make a GUI with a button, and when you click the button it should say: "You clicked ??? times" So, if i click the button, it should count +1. I made so many tries, but i cannot get it out. Need your help guys. Thanks in Advance
  12. I am having a slight problem because my buttons won't click to pull up the function its set to Can anyone tell me why my buttons won't click? its ontop of an image... #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Opt("GUIOnEventMode", 1) GUICreate("Program", 200, 180, -1, -1, $WS_SIZEBOX + $WS_SYSMENU) GUISetBkColor(0xE0FFFF) Global $n = GUICtrlCreatePic("Images\image.jpg", 20, 0) Global $1x = GUICtrlCreateButton("X", 30, 48) GUICtrlSetOnEvent($1x, "onex") GUISetState(@SW_SHOW) while 1 Sleep(1000) WEnd func onex() MsgBox(0, "Debug", "onex Works") En
  13. Greetings to everyone... while experimenting with GDI+, I ran into a bit of trouble. CODE: #include <GDIPlus.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> ; create variables and objects _GDIPlus_Startup() $gpsind0=_GDIPlus_ImageLoadFromFile("search.png") $Form1 = GUICreate("A problem to solve", 150, 150) $btn = GUICtrlCreateButton('Button', 10, 10, 90, 30) GUISetState(@SW_SHOW) $hGraphic=_GDIPlus_GraphicsCreateFromHWND(GUICtrlGetHandle($btn)) ; main program code _GDIPlus_GraphicsDrawImage($hGraphic,$gpsind0,0,0) GUIRegisterMsg($WM_PAINT, "WM_E
  14. I'm have a working program that displays the users in Active Directory. When a user's name is clicked on it displays their details (profile folder, work folder, etc). However, what I'd really like to do is be able to eliminate using the mouse as much as possible, so instead of having to click on each user's name, you can use the UP and DOWN arrows and it will act as though their name has been clicked on (if that makes any sense?). Here's some of the code so far: $ADListView = GUICtrlCreateListView("Login Name|Display Name", 140, 60, 220, 280);A ListView to display the users ; Adjust th
  15. good afternoon there is some function in AutoIT like (_BlockInputEx) but joystick to lock the buttons of the joystick you want? thank you
  • Create New...