Toolbar
Drag components from here and drop them onto the canvas.
Button
Checkbox
RadioButton
DropDown
DropDown
blue
green
pink
"Link"
Sample Text
Window Title - click here to edit
File
Edit
Help
Drop here to delete
⬇️
#Requires AutoHotkey v2.0 ;============================================================= ; Created with AHK GUI Designer ;============================================================= ; This script was generated using AHK GUI Designer ; by Erik Lundin. ; ; Tool Website: https://ahkdesigner.lundin-code.se/ ; LinkedIn: https://www.linkedin.com/in/erik-lundin-b8499a25a/ ;============================================================= ; Create GUI-object myGui := Gui("Resize +MinSize802x402 +MaxSize802x402", "Window Title - click here to edit") ; Create Menu-bar myMenubar := MenuBar() myFileMenu := Menu() myFileMenu.Add("Open", OpenHandler) myFileMenu.Add("Save", SaveHandler) myFileMenu.Add("Exit", ExitHandler) myEditMenu := Menu() myEditMenu.Add("Cut", CutHandler) myEditMenu.Add("Copy", CopyHandler) myEditMenu.Add("Paste", PasteHandler) myHelpMenu := Menu() myHelpMenu.Add("Help", HelpHandler) myHelpMenu.Add("About", AboutHandler) myMenubar.Add("File", myFileMenu) myMenubar.Add("Edit", myEditMenu) myMenubar.Add("Help", myHelpMenu) myGui.MenuBar := myMenubar ; Add components to GUI-object ; Handler-functions for GUI-components myGui.Show("Center") ; Handler-functions for Menu Items OpenHandler(ItemName, ItemPos, MyMenu) { ;Place your code for the menu-item here MsgBox "Open chosen" } SaveHandler(ItemName, ItemPos, MyMenu) { ;Place your code for the menu-item here MsgBox "Save chosen" } ExitHandler(ItemName, ItemPos, MyMenu) { ;Place your code for the menu-item here ExitApp } CutHandler(ItemName, ItemPos, MyMenu) { ;Place your code for the menu-item here MsgBox "Cut chosen" } CopyHandler(ItemName, ItemPos, MyMenu) { ;Place your code for the menu-item here MsgBox "Copy chosen" } PasteHandler(ItemName, ItemPos, MyMenu) { ;Place your code for the menu-item here MsgBox "Paste chosen" } HelpHandler(ItemName, ItemPos, MyMenu) { ;Place your code for the menu-item here MsgBox "Help chosen" } AboutHandler(ItemName, ItemPos, MyMenu) { ;Place your code for the menu-item here MsgBox " ( This GUI was generated using AHK GUI Designer by Erik Lundin Tool website: https://ahkdesigner.lundin-code.se/ Linkedin: https://www.linkedin.com/in/erik-lundin-b8499a25a/ )","About" } ; Show the window myGui.Show("Center")