Mat Posted June 18, 2009 Share Posted June 18, 2009 (edited) I was having a look at almarM's Easy script, and decided I needed something similar for throwing together simple GUI's quickly and efficiently. So I wrote this.The helpfile explains everything, This was also a test to see how well I could write and compile chm's, in preperation for some proper programs I have waiting...Basic GUI can now be written like this:GUI.title.300.300.-1.-1 Label.hello world.2.2.296.296Although its nothting like koda etc, I generaly prefer coding all my GUI's, using correct mathematical processes such as trial and error. Tachnically, you can do anything you can do in autoit, in Easy GUI. But thats only becouse I have an autoit command...Autoit.MsgBox (48, "hello", "This is standard autoit syntax")In other news... You can also run this from anywhere, due to the fact I cheated, and run the autoitscripts through the compiled exe. It also works normally when not compiled, provided you are running autoit on the computer.Zip (Program, source, example, helpfile)SourceHelpfileMDieselOh yer... To setup the whole file extensions stuff run this Edited June 18, 2009 by mdiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
dantay9 Posted June 18, 2009 Share Posted June 18, 2009 (edited) So you kind of just replaced the commas with periods. Nice work, but I think I'll stick with the current autoit version. It probably just takes some getting used to. Edited June 18, 2009 by dantay9 Link to comment Share on other sites More sharing options...
Mat Posted June 18, 2009 Author Share Posted June 18, 2009 yep, I knew someone would say that! I also set the state, and execute the loop... cut out half the commands... I am busy writing a huge GUI thats going to be a cricket scorer. That has millions of controls and testing is a bummer. Thats the reason I started this. MDiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
Ashalshaikh Posted June 18, 2009 Share Posted June 18, 2009 Wow .. It's really good I Like It !! Link to comment Share on other sites More sharing options...
Mat Posted June 18, 2009 Author Share Posted June 18, 2009 wow!! thanks! I'm getting replies faster than I can write my answers+thanks!! A few problems not yet mentioned. in the debug box thing - it doesn't like my @CRLF's, and doubles the lines. @LF + @CR aren't recognised, so are not available as replacements. on the same dialog, I need some more ideas as to what to have in the pos status bar... I was thinking title etc, but they would just sit there not changing much. MDiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
Valuater Posted June 18, 2009 Share Posted June 18, 2009 I did something similar once, and the purpose was to be able to change the GUI "Face" of the program that was already out there. You could select from different skins "looks" for the GUI.This is the original...This is one of the skins...*** NOTICE, it's not just the "skin" it's the entire look, controls, and everything..here is a piece of the above skin code...expandcollapse popupROND GSBC,"", $Start_Menu TITL,XPC -Radio DSGN,by QT Appraisal HGHT, 180 STL1, "", 315, 135, 20, 20 STIP, -1,Restore SCUR, -1, 0 STL2, "", 349, 135, 20, 20 STIP, -1,Adware SCUR, -1, 0 STL3, "", 383, 135, 20, 20 STIP, -1,Spyware SCUR, -1, 0 STL4, "", 417, 135, 20, 20 STIP, -1,AutoClean SCUR, -1, 0 STL5, "", 450, 135, 20, 20 STIP, -1,Registry SCUR, -1, 0 STL6, "", 483, 135, 20, 20 STIP, -1,Defrag SCUR, -1, 0 STL7, "", 517, 135, 20, 20 STIP, -1,Full Menu SCUR, -1, 0 STL8, "", 230, 135, 70, 20 STIP, -1,Share This Menu SCUR, -1, 0 STL9, "", 540, 30, 20, 20 STIP, -1,Exit SCUR, -1, 0 LGOB,logo, 530, 77, 35, 35 STIP, -1,Check Updates TGL1, "", 130, 50, 80, 80, -1 SBKC, -1, $GUI_BKCOLOR_TRANSPARENT STIP, -1,Toggle Select SCUR, -1, 0 TGB2,Select, 455, 85, 45, 17 STIP, -1,Execute Selection HDL1, "", 45, 135, 50, 20 STIP, -1,Hide Menu Bar SCUR, -1, 0 COL1, "", 35, 30, 70, 20 STIP, -1,Custom Order SCUR, -1,0 PIC1, $File1_pic, 0, 0,600,180 CLBL, "", 295, 60, 160, 40 SBKC, -1,"" TGLA,Restore, 310, 68, 105, 30 SFNT, -1, 16, 700, -1 FBLU, -1, 0x8080ff PIC2, $File2_PIC, 231, 29, 135, 22 CLBL,XPC -Radio, 270, 32, 100, 23 SFNT, -1, 9, 600, 2 + 4 FRED, -1, 0xff0000 SETS, $Start_12 , $GUI_FOCUS SETS, $Start_10 , $GUI_FOCUS SHOW.... so don't let anyone stop ya!!8) Link to comment Share on other sites More sharing options...
dantay9 Posted June 18, 2009 Share Posted June 18, 2009 I guess if you have that many controls, it would be easier to use. I try to make my GUI's short and sweet. Link to comment Share on other sites More sharing options...
Mat Posted June 18, 2009 Author Share Posted June 18, 2009 I did something similar once, and the purpose was to be able to change the GUI "Face" of the program that was already out there. You could select from different skins "looks" for the GUI.wow... thats incredible. I very much doubt this script will get anywhere near that!!@Dantay: Statistically, it actually shortens your script most on shorter scripts (but then again, percentages are a funny thing. age wise I'm catching up with my dad ). Monoceres was pretty amazed when he wrote a 2 line GUI, with this you can do the same easily! (kk, not really)MDiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
Valuater Posted June 18, 2009 Share Posted June 18, 2009 (edited) I guess if you have that many controls, it would be easier to use. I try to make my GUI's short and sweet.You are not understanding this concept. The idea is My program is already "out-there". People are using it and I want them to have the "option" to change the look and feel. All they need to do is select a skin and it loads from that file. Al I need to do is to make a new file for a new skin..... NO OTHER PROGRAM UPDATES ARE NEEDED, JUST THAT FILE AND A PICthat's really easy!.. rather than update a whole program... maybe you could understand "plugins"8)EDIT: Thanks MDiesel Edited June 18, 2009 by Valuater Link to comment Share on other sites More sharing options...
Mat Posted June 18, 2009 Author Share Posted June 18, 2009 EDIT: Thanks MDiesel no problems! I think the main thing to understand here is that you get the same results using this or writing it out fully. only difference is this way is less taxing on the fingers, and can be tested before you complete the GUI, without the bother of loops etc.anyone found any errors?also: how does the helpfile look, and don't say empty... I don't need more than a paragragh to show features most of us use daily.MDiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
Richard Posted February 1, 2010 Share Posted February 1, 2010 I was having a look at almarM's Easy script, and decided I needed something similar for throwing together simple GUI's quickly and efficiently. So I wrote this. The helpfile explains everything, This was also a test to see how well I could write and compile chm's, in preperation for some proper programs I have waiting... Basic GUI can now be written like this:GUI.title.300.300.-1.-1 Label.hello world.2.2.296.296 Although its nothting like koda etc, I generaly prefer coding all my GUI's, using correct mathematical processes such as trial and error. Tachnically, you can do anything you can do in autoit, in Easy GUI. But thats only becouse I have an autoit command...Autoit.MsgBox (48, "hello", "This is standard autoit syntax")In other news... You can also run this from anywhere, due to the fact I cheated, and run the autoitscripts through the compiled exe. It also works normally when not compiled, provided you are running autoit on the computer. Zip (Program, source, example, helpfile) Source Helpfile MDiesel Oh yer... To setup the whole file extensions stuff run this ------------------------- What do you mean by RUN THIS? Link to comment Share on other sites More sharing options...
Mat Posted February 1, 2010 Author Share Posted February 1, 2010 What do you mean by RUN THIS?The link is to an autoit script which builds the file associations with ".eag" files. eag standing for EAsy Gui. It makes it a lot easier to use. You can right click the .eag file to run it in a similar way to autoit scripts.Be warned, this project is very old, and Koda is probably a much better option anyhow. I was looking at extending this for non standard controls, but I didn't really see the point. It probably doesn't work on newer versions of autoit. AutoIt Project Listing Link to comment Share on other sites More sharing options...
Zedna Posted February 1, 2010 Share Posted February 1, 2010 Be warned, this project is very old, and Koda is probably a much better option anyhow. I agree. Koda is "must have" application for all Autoit GUI makers, especially for complicated GUIs. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Mat Posted February 1, 2010 Author Share Posted February 1, 2010 I agree. Koda is "must have" application for all Autoit GUI makers, especially for complicated GUIs.I find it very useful for the simple ones too, speeds everything up a lot. Its not perfect mind you... Theres still a couple of bugs and it doesn't have richedits *yet*. AutoIt Project Listing Link to comment Share on other sites More sharing options...
Zedna Posted February 1, 2010 Share Posted February 1, 2010 Its not perfect mind you... Theres still a couple of bugs and it doesn't have richedits *yet*.So make feature request for it on Koda Trac ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Mat Posted February 1, 2010 Author Share Posted February 1, 2010 So make feature request for it on Koda Trac ...It's already there, and I didn't post it either AutoIt Project Listing Link to comment Share on other sites More sharing options...
Fire Posted February 1, 2010 Share Posted February 1, 2010 5 starts from me MASTER++ Thank you very much Mat For Great Job. [size="5"] [/size] Link to comment Share on other sites More sharing options...
Mat Posted February 1, 2010 Author Share Posted February 1, 2010 Thanks Does it still work? AutoIt Project Listing Link to comment Share on other sites More sharing options...
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