Jakew626 Posted October 31, 2021 Posted October 31, 2021 Hello, This may seem like a dumb question but I'm not sure where to look or start on this subject. So I've been learning AutoIt and building scripts through trial and error these last couple years. I'd like to go to the next step by taking the lines of code I've written and make a usable interface like a window with buttons that execute different commands when clicked on or enabled. Also a desktop icon to launch the program. Is it possible to do that with Autoit or do I need to use other software to create the window and buttons and then assign a command to them? I'll definitely appreciate any advice. Thank you
Subz Posted October 31, 2021 Posted October 31, 2021 Recommend looking at the help file GuiCtrlCreateButton examples, the help file includes a large number of examples, including system tray icon etc..
Jakew626 Posted October 31, 2021 Author Posted October 31, 2021 Thank you very much for the advice! I'll look into it now
Zedna Posted October 31, 2021 Posted October 31, 2021 (edited) For example look here, there is my GUI wrapper for DriveMapAdd() command Edited October 31, 2021 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
junkew Posted October 31, 2021 Posted October 31, 2021 https://www.autoitscript.com/autoit3/docs/guiref/GUIRef.htm FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
pseakins Posted October 31, 2021 Posted October 31, 2021 15 hours ago, Jakew626 said: make a usable interface like a window with buttons In the Scite editor just press ALT-M to bring up the Coda form designer. It can be found on the menu under Tools. Leendert-Jan 1 Phil Seakins
ViciousXUSMC Posted November 2, 2021 Posted November 2, 2021 Koda Form Designer makes it pretty easy to build basic GUI's I use it all the time. Nothing super pretty, but always pretty functional seadoggie01 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now