๐Ÿ˜ฒAmazing AutoHotkey v2 GUIs Mini tutorial that tells you what you NEED to know

Published 2023-05-11
The video teaches the basics of creating GUIs in AHK v2, including control properties, adding control objects with options and default values, specifying control size and position, and using object methods to perform actions on specific events. It is an extract from our FREE Live Friday support calls. the-Automator.com/Fridays
The Intro to GUIs in AutoHotkey v2 course will be available soon. the-Automator.com/IntroGUIsV2

1. 00:00 ๐Ÿ’ป Learn GUI creation in Version 2 with a live tutorial or discounted course purchase.
1.1 Learn how to create GUIs in Version 2 with a tutorial from a live call or purchase a course for a discount.

2. 01:07 ๐Ÿ“š Learn GUI basics and how to react, new course with major changes coming in 3 weeks.
2.1 Learn the basics of creating a simple GUI and how to react to things, then seek more information from examples provided.
2.2 A new course on GUIs in version two will be available in three weeks, with major changes from version one.

3. 03:15 ๐Ÿ“Š GUI objects have two main objects, GUI and control, with control properties being important for enabling, focusing, naming, and grabbing values in GUI creation.
3.1 GUI objects are divided into two main objects: the GUI object controls the GUI itself, while the control object controls individual controls like buttons.
3.2 The properties of controls are important for enabling, focusing, naming, and grabbing values in GUI creation.

4. 05:39 ๐Ÿ“ A function adds a control object with options and default values, including a cancel button, for future use and checking properties like visibility and enablement.
4.1 The function adds a control object with options and default values, such as a cancel button, which can be stored in a variable for future use and checked for properties like visibility and enablement.

5. 06:50 ๐Ÿ’ป Specify control size and type, position them, and arrange cancel and okay buttons horizontally with a margin to the right of the okay button when creating a AutoHotkey GUI.
5.1 Creating a GUI in AutoHotkey involves specifying the size and type of controls, such as a list view or button, and positioning them accordingly.
5.2 Arrange the cancel and okay buttons horizontally by adding a margin to the right of the okay button.

6. 09:17 ๐Ÿ‘€ Building a GUI involves reacting to differences and using object methods to perform actions on specific events.
6.1 Building the guise involves reacting to GUI differences and using object methods to react to certain events.
6.2 You can target specific events for certain controls, create a function to perform an action, and be aware of the parameters sent when clicking on an object.

7. 11:48 ๐Ÿ’ป Use dot notation with objects to string actions together and create event triggers, and use the destroy method to close a window in AutoHotkey GUI.
7.1 TLDR: Create a concise summary without mentioning the speaker's name and remove redundant words.
7.2 Objects allow for stringing actions together using dot notation, eliminating the need to save variables, and can be used to create event triggers such as message boxes.
7.3 To close a window in AutoHotkey GUI, use the destroy method on the main GUI object.

8. 14:41 ๐Ÿ“š The lecture covered GUI basics in AutoHotkey, including differences from V1 and creating controls with different parameters - learn in chunks and ask questions for easier understanding, and check out the recommended course for a discount.
8.1 The lecture demonstrated the basics of using GUI in AutoHotkey, including the differences from V1 and the types of controls that can be created with different parameters.
8.2 Learn in chunks and ask questions to make it easier to grab, and check out the recommended course for a good d

All Comments (9)
  • @dunnerca
    Thanks for this quick intro to V2 gui's. Very good summary of what you need to start and how to expand on the gui objects.
  • What is interesting in this video is that Isaias explains the logical steps necessary to create a GUI. In order to learn how to create Guis, I used the Examples provided at the bottom of the pages (Gui Object), (List View), (Tree View) and others. From these examples, I managed to create a Gui that I named (AHK Scripts Launcher). This Gui is made of three Tabs, each of which displays in a List View, the (AHK) files of the various (Lib Folders), to then open them with a double click.