I've been meaning to upload this for some time, and as I still use it all the time (by preference), I thought others might also still like its simplicity.
GuiBuilder.au3 57.73K
1622 downloadsPrevious Downloads: 194
Guibuild.ico 766bytes
724 downloads
See Post #9 below, for information & a link to a newer version compatible with later AutoIt versions (above version download is not compatible with AutoIt v3.2.12.0 etc).CHANGES by TheSaint - 17th December 2006:This file was originally Prototype 0.5, and at some point CyberSlug had changed it to 0.6 ... the only main difference I could find, was that all the "handle=" & $main, etc had been changed to $main, etc (the '"handle=" & ' element being completely removed).
I have now implemented that change in this file, plus re-worked several other elements. Most notably, the GUI gets it's name from the title in SciTe (if you're running it), it also gets the save path from that name. There was one other change I found in Prototype 0.6, that reflected newer GUI changes -
If Not IsDeclared('WS_CLIPSIBLINGS') Then Global $WS_CLIPSIBLINGS = 0x04000000 had been removed, and $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS had been changed to the following - BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS), which I find to be an uncommon use, so I added my most commonly preferred version -
$WS_OVERLAPPED + $WS_CAPTION + $WS_SYSMENU + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_MINIMIZEBOX.
Due to my changes I have now called the program - Prototype 0.7. I have also added an 'About' dialog & 'Info' dialog menu items, and finally increased the height of the 'Choose Control Type' gui, which had been previously overlooked by both Roy and myself, which had meant that the bottom row of buttons was only partially displayed.
NOTES:One might wonder at my bothering to do all this, with the advent of KODA. Well I both like and dislike elements of KODA, and find the simplicity of AutoBuilder (with the later changes) much more pleasing at times. In particular, I dislike the naming and size ranges available in KODA, which means I'm forever renaming and changing them to what I want. In particular I like the buttons and inputs, etc to start off at 20 high, and have an underslash between control names and numbers i.e. $checkbox_1 not $checkbox1. I also prefer to have more screen to play with.
CHANGES by Roy - 20 Jun 2005:added save & load gui defs to ini files with file ext .agd (AutoIt Gui Definition)
see _SaveGuiDefinition & _LoadGuiDefinition (very beta code)
Commented Beep function
Note: Compile with 3.1.1.0
TO USE IT COMPILE IN THE SAME DIRECTORY OF GUIBUILDER (NEEDS PICS X ICON & PIC)
CHANGES by TheSaint - 5 July 2005:Added the ability to re-load the (*.agd) settings/template file, from the command-line (you can now use - Open With or SendTo, or simply associate that file type with the Guibuilder program. I modified some of CyberSlug's code & some of Roy's.
I also added the ability to store the last used folder location in a .ini file (Gbuild.ini), this entry is the default load or save location if the file/entry exists, otherwise it default's to My Documents.
The default GUI's .au3 filename, is also taken from Roy's template (*.agd) file, if you created one.
BUG FIX - 31 Aug 2005:Command-line variable updated to ignore value of 1 - discovered this, when Guibuilder crashed on me, and I couldn't re-load the saved (*.agd) file, because $CmdLine[0] was returning a value of 1!
My Other Posts
Admin Rights & Shortcuts For All
Autoit Programmer's Aids
Context Options
New Folders
Projects Backup
Script Templates
Simple CDPlayer v1.2
Admin File Management (NEW)*
Edited by TheSaint, 10 February 2009 - 03:08 PM.