Alek Posted July 11, 2008 Posted July 11, 2008 (edited) made a little GUI designer in Autoit. features: -Grid -Snapping -generate on event, the standard GuiGetMsg or just the GUI -Save/Open todo: -Tabs and listview, and maybe treeview (treeview works, you just cant add stuff to it, same for listview) -Ctrl+z function -Multiple selection (select more then one control) -Font Selection -Prevent user from using the same control name twice. -change control / GUI Styles bugs: -The grid makes it lag, maybe change to a background image instead of graphic. what has bin done: -Undo (ctrl+z) -some other improvments. -Started work on multiple control selection -Show/Hide grid -Show/Hide the dots that indicates if a control is selected -Cleaned up some of it, its still quite messy -Changed the function that handles dragging and resizing. -Removed Sqlite stuff, its now using arrays (simple to save/open form) -Save / Open Forms -No longer allows you to use the controls that are on the Form your designing on (comboboxs etc...) How to: -Create the GUI and press the GO button. -It will add the script to the clipboard, and/or write it directly into SciTE Download: Gui_Designer.zip Example output (event based) expandcollapse popup#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Opt("GUIOnEventMode", 1) $Form1 = Guicreate("My Form", 190, 70, -1, -1) $Button1 = GuiCtrlCreateButton("My Button", 10, 10, 70, 20) $Button2 = GuiCtrlCreateButton("Oh Noes!", 90, 10, 70, 20) GUISetOnEvent($GUI_EVENT_CLOSE, "_GuiEvents") GUISetOnEvent($GUI_EVENT_MINIMIZE, "_GuiEvents") GUISetOnEvent($GUI_EVENT_RESTORE, "_GuiEvents") GUICtrlSetOnEvent($Button1, "_Button1_OnEvent") GUICtrlSetOnEvent($Button2, "_Button2_OnEvent") GuiSetState(@SW_SHOW) While 1 Sleep(10) Wend Func _GuiEvents() Switch @GUI_CtrlId Case $GUI_EVENT_CLOSE Exit Case $GUI_EVENT_MINIMIZE Case $GUI_EVENT_RESTORE EndSwitch EndFunc Func _Button1_OnEvent() EndFunc Func _Button2_OnEvent() EndFunc Edited September 22, 2008 by Alek [font="Impact"]Never fear, I is here.[/font]
Andreik Posted July 11, 2008 Posted July 11, 2008 I appreciate your work but most of people will be use Koda.
gseller Posted July 11, 2008 Posted July 11, 2008 Cool Start!! I didn't see any controls to save or apply or anything. It is very simple to use though..
BrettF Posted July 11, 2008 Posted July 11, 2008 (edited) I honestly haven't looked at it yet.... But you might look here for more http://www.autoitscript.com/forum/index.php?showtopic=75723muttleyNice.I don't know when my or which control is selected.... That concerns me... Edited July 11, 2008 by Bert Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Zedna Posted July 11, 2008 Posted July 11, 2008 I haven't looked at your GUI Designer but for case you don't know about Koda here is link: http://www.autoitscript.com/forum/index.php?showtopic=32299 Resources UDF ResourcesEx UDF AutoIt Forum Search
Alek Posted July 11, 2008 Author Posted July 11, 2008 I appreciate your work but most of people will be use Koda.yeah probably muttley but it was fun to make Cool Start!! I didn't see any controls to save or apply or anything. It is very simple to use though..I honestly haven't looked at it yet.... But you might look here for more http://www.autoitscript.com/forum/index.php?showtopic=75723Nice.wow thanks I don't know when my or which control is selected.... That concerns me... shouldn't be to hard to do. [font="Impact"]Never fear, I is here.[/font]
n0tb4d Posted July 11, 2008 Posted July 11, 2008 wow good the feauture realu usefull .. but the bugs ... and i think advanced use with koda ...muttley
TheSaint Posted July 12, 2008 Posted July 12, 2008 made a little GUI designer in Autoit.Hi Alek - you might be interested in this CyberSlug's - GuiBuilder It may have been before your time, and the original version came with every AutoIt install, but is no longer included with it because Vista breaks it. Jon says he would include it with examples if someone is willing to update it for Vista - not having Vista myself, I can't do that yet, BUT YOU MIGHT LIKE TO HAVE A GO! I still use GuiBuilder in preference to Koda, but then I'm still back at AutoIt v3.2.4.9 or less. When I get a chance, I'll have a look at what you've done so far. muttley Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
Alek Posted July 12, 2008 Author Posted July 12, 2008 Hi Alek - you might be interested in this CyberSlug's - GuiBuilder It may have been before your time, and the original version came with every AutoIt install, but is no longer included with it because Vista breaks it. Jon says he would include it with examples if someone is willing to update it for Vista - not having Vista myself, I can't do that yet, BUT YOU MIGHT LIKE TO HAVE A GO! I still use GuiBuilder in preference to Koda, but then I'm still back at AutoIt v3.2.4.9 or less. When I get a chance, I'll have a look at what you've done so far. muttley actually, I used to use that when I was on XP [font="Impact"]Never fear, I is here.[/font]
TehWhale Posted July 12, 2008 Posted July 12, 2008 Works Lovely on Vista! Thanks for this program, although for my GUI needs I will probably use Koda. Thanks though, I will use this one for small/fast scripts.
Alek Posted September 22, 2008 Author Posted September 22, 2008 made some updates to this now hope you like, still some stuff to like. like Tabs :s [font="Impact"]Never fear, I is here.[/font]
BillLuvsU Posted September 23, 2008 Posted September 23, 2008 (edited) Not a single mention of my AutoIt studio. Look at it for some ideas. Minus the bugs I think it's the best pure autoit GUI designer out there. I just was never able to fix the bugs because of computer availability issues, and when they were resolved, the project was dead.edit:http://www.zshare.net/download/18259669fcf11a1b/ Edited September 23, 2008 by BillLuvsU [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw
AlmarM Posted September 23, 2008 Posted September 23, 2008 WAUWIE So nice, im going to use this >_< Its because I dont know how koda works AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
ChromeFan Posted September 23, 2008 Posted September 23, 2008 it is not advanced like Koda but i am happy to see your efforts behind this! i hope you will keep this Project alive by updating it and making advance like Koda or better then Koda. wish you GoodLuck. Bye! Website: www.cerescode.comForum: www.forum.cerescode.comIRC: irc.freenode.net , Channel: #Ceres--------------------Autoit Wrappers, Great additions to your script (Must See) (By: Valuater)Read It Befor Asking Question Click Here...--------------------Join Monoceres's Forums http://www.monoceres.se--------------------There are three kinds of people: Those who make things happen, those who watch things happen, and those who ask, What happened? Casey Stengel
Alek Posted September 23, 2008 Author Posted September 23, 2008 it is not advanced like Koda but i am happy to see your efforts behind this!i hope you will keep this Project alive by updating it and making advance like Koda or better then Koda.wish you GoodLuck.Bye!dont think it will be as advanced as Koda or as good, but its a fun project to tweak with [font="Impact"]Never fear, I is here.[/font]
ChromeFan Posted September 23, 2008 Posted September 23, 2008 dont think it will be as advanced as Koda or as good, but its a fun project to tweak with i think you can make it advance, but it all depends on you!you should at least try... Website: www.cerescode.comForum: www.forum.cerescode.comIRC: irc.freenode.net , Channel: #Ceres--------------------Autoit Wrappers, Great additions to your script (Must See) (By: Valuater)Read It Befor Asking Question Click Here...--------------------Join Monoceres's Forums http://www.monoceres.se--------------------There are three kinds of people: Those who make things happen, those who watch things happen, and those who ask, What happened? Casey Stengel
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