Deye Posted November 17, 2018 Share Posted November 17, 2018 (edited) Quote A Very easy to use GUI Designer * From the SciTE console you will be able to pull out specific control edits that you need immediately. The controls that are lined up on top are the ones for manipulating presets You will discover that you can move groups of controls in one go which is the major bonus in this designer compared to all other Designers The other controls are easy figure out.. To add a new preset to the list, Simply type in something to the Combo Edit box, And push save, Easy enough Now go Try it to discover the small wonders for yourself _GUICtrlTuner.au3 Deye Edited November 30, 2018 by Deye dmob and Skeletor 1 1 Link to comment Share on other sites More sharing options...
Deye Posted November 18, 2018 Author Share Posted November 18, 2018 (edited) 1 more Example : Spoiler expandcollapse popup; https://github.com/ellysh/autoit-examples/blob/master/GUI/SampleControls.au3 ; AutoIt GUI Example ; Created: 17/01/2005 - CyberSlug ; Modifed: 05/12/2011 - guinness #include <GuiConstantsEx.au3> #include <AVIConstants.au3> #include <TreeViewConstants.au3> #include "_GUICtrlTuner_Limitless.au3" ; GUI $hGUI = GUICreate("Sample GUI", 400, 400) GUISetIcon(@SystemDir & "\mspaint.exe", 0) ; MENU GUICtrlCreateMenu("Menu&One") GUICtrlCreateMenu("Menu&Two") GUICtrlCreateMenu("MenuTh&ree") GUICtrlCreateMenu("Menu&Four") ; CONTEXT MENU Local $iContextMenu = GUICtrlCreateContextMenu() GUICtrlCreateMenuItem("Context Menu", $iContextMenu) GUICtrlCreateMenuItem("", $iContextMenu) ; Separator GUICtrlCreateMenuItem("&Properties", $iContextMenu) ; PIC GUICtrlCreatePic("logo4.gif", 0, 0, 169, 68) GUICtrlCreateLabel("Sample Pic", 75, 1, 53, 15) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetColor(-1, 0xFFFFFF) ; AVI GUICtrlCreateAvi("SampleAVI.avi", 0, 180, 10, 32, 32, $ACS_AUTOPLAY) GUICtrlCreateLabel("Sample avi", 175, 50) ; TAB GUICtrlCreateTab(240, 0, 150, 70) GUICtrlCreateTabItem("One") GUICtrlCreateLabel("Sample Tab with tabItems", 250, 40) GUICtrlCreateTabItem("Two") GUICtrlCreateTabItem("Three") GUICtrlCreateTabItem("") ; COMBO GUICtrlCreateCombo("Sample Combo", 250, 80, 120, 100) ; PROGRESS GUICtrlCreateProgress(60, 80, 150, 20) GUICtrlSetData(-1, 60) GUICtrlCreateLabel("Progress:", 5, 82) ; EDIT GUICtrlCreateEdit(@CRLF & " Sample Edit Control", 10, 110, 150, 70) ; LIST GUICtrlCreateList("", 5, 190, 100, 90) GUICtrlSetData(-1, "A.Sample|B.List|C.Control|D.Here", "B.List") ; ICON GUICtrlCreateIcon("explorer.exe", 0, 175, 120) GUICtrlCreateLabel("Icon", 180, 160, 50, 20) ; LIST VIEW Local $iListView = GUICtrlCreateListView("Sample|ListView|", 110, 190, 110, 80) GUICtrlCreateListViewItem("A|One", $iListView) GUICtrlCreateListViewItem("B|Two", $iListView) GUICtrlCreateListViewItem("C|Three", $iListView) ; GROUP WITH RADIO BUTTONS GUICtrlCreateGroup("Sample Group", 230, 120) GUICtrlCreateRadio("Radio One", 250, 140, 80) GUICtrlSetState(-1, $GUI_CHECKED) GUICtrlCreateRadio("Radio Two", 250, 165, 80) GUICtrlCreateGroup("", -99, -99, 1, 1) ;close group ; UPDOWN GUICtrlCreateLabel("UpDown", 350, 115) GUICtrlCreateInput("42", 350, 130, 40, 20) GUICtrlCreateUpdown(-1) ; LABEL GUICtrlCreateLabel("Green" & @CRLF & "Label", 350, 165, 40, 40) GUICtrlSetBkColor(-1, 0x00FF00) ; SLIDER GUICtrlCreateLabel("Slider:", 235, 215) GUICtrlCreateSlider(270, 210, 120, 30) GUICtrlSetData(-1, 30) ; INPUT GUICtrlCreateInput("Sample Input Box", 235, 255, 130, 20) ; DATE GUICtrlCreateDate("", 5, 280, 200, 20) GUICtrlCreateLabel("(Date control expands into a calendar)", 10, 305, 200, 20) ; BUTTON GUICtrlCreateButton("Sample Button", 10, 330, 100, 30) ; CHECKBOX GUICtrlCreateCheckbox("Checkbox", 130, 335, 80, 20) GUICtrlSetState(-1, $GUI_CHECKED) ; TREEVIEW ONE Local $iTreeView_1 = GUICtrlCreateTreeView(210, 290, 80, 80) Local $iTreeItem = GUICtrlCreateTreeViewItem("TreeView", $iTreeView_1) GUICtrlCreateTreeViewItem("Item1", $iTreeItem) GUICtrlCreateTreeViewItem("Item2", $iTreeItem) GUICtrlCreateTreeViewItem("Foo", -1) GUICtrlSetState($iTreeItem, $GUI_EXPAND) ; TREEVIEW TWO Local $iTreeView_2 = GUICtrlCreateTreeView(295, 290, 103, 80, $TVS_CHECKBOXES) GUICtrlCreateTreeViewItem("TreeView", $iTreeView_2) GUICtrlCreateTreeViewItem("With", $iTreeView_2) GUICtrlCreateTreeViewItem("$TVS_CHECKBOXES", $iTreeView_2) GUICtrlSetState(-1, $GUI_CHECKED) GUICtrlCreateTreeViewItem("Style", $iTreeView_2) ; GUI MESSAGE LOOP GUISetState(@SW_SHOW) _EnumGUICtrl($hGUI, @ScriptFullPath) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Edited November 28, 2018 by Deye Link to comment Share on other sites More sharing options...
Deye Posted November 21, 2018 Author Share Posted November 21, 2018 (edited) 1.0.3.1 + Flexible to work with more controls that possibly don't have all control coords set, Doesn't mean that this routine is reliable to get the correct control (it's advised to have all coords set priorly ), However if it succeeds to get past the first move for the correct control then all (X,Y,W,H) coords are applied & saved, making it reliable for any on forth moves Edited November 27, 2018 by Deye Link to comment Share on other sites More sharing options...
Deye Posted November 27, 2018 Author Share Posted November 27, 2018 Added 9 Menued aligning options from Right clicking 1 check box to parameter the others in checked state Learn the reactions on the first few runs, It's easy to manage since there is the undo\redo feature which simply gives the option to keep on going until the desired outcome is accomplished Deye Link to comment Share on other sites More sharing options...
Deye Posted November 28, 2018 Author Share Posted November 28, 2018 New Name: _GUICtrlTuner_Limitless (Easy as duck soup) From now on you don't need to figure out which control belongs to which, As you can now just left click\Right the controls on your main GUI and they will be auto selected on the Tool's GUI, Ready for further actions .. Deye Link to comment Share on other sites More sharing options...
Deye Posted November 30, 2018 Author Share Posted November 30, 2018 (edited) Reserved Edited January 20, 2019 by Deye Link to comment Share on other sites More sharing options...
Deye Posted January 20, 2019 Author Share Posted January 20, 2019 Just For kicks, A very short clip that demo s How to have Equal spacing between groups (Shift+SpaceBar_Combo_Demo.flv).7z Deye Link to comment Share on other sites More sharing options...
Deye Posted August 14, 2019 Author Share Posted August 14, 2019 v 1.0.9.8 At about the same time i had last updated this here, I already had a more progressed script where you can add controls on the fly Some of the shown options for adding controls are still not fully attended to, just got most of them working , the ground work is there but I cant tell if I will get back to properly updating it more.. So I've only uploaded what I have as is A special Note: In order to move controls into tabs you will need to drag any desired control\s onto a tab's label other then the one that is the active selected .. So if for instance you wanted a control to go into tab named: "one" you must select some other tab, then you can drag the control onto the tab labeled "one" If you are using presets that include any of the controls you have moved between tabs then this presets become invalid because when the script restarts the read order of the controls get shuffled ,so you better delete all presets before continuing because they do get used in most operations with each restart and can screw up things , presets are good for finishing touches where the order of controls read from the script wont need changing anymore as for the script breaking changes you will need to add the execution lines last to your includes at the top of your gui script #include "_GUICtrlTuner_Limitless.au3" _EnumGUICtrl(@ScriptFullPath) Deye 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