BabyBorn Posted September 6, 2023 Posted September 6, 2023 Hi, Have a nice idea in my mind for Game Timer. But i have never ever with GUI 👽 For beginning made something like that #include <ButtonConstants.au3> #include <ComboConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=c:\autoit3\forms\form1.kxf $Form1_1 = GUICreate("Timer", 396, 92, -1, -1, Default, $WS_EX_TOPMOST) $Input1 = GUICtrlCreateInput("", 112, 24, 81, 21) $Label2 = GUICtrlCreateLabel("Location", 120, 8, 45, 17) $Lista = GUICtrlCreateCombo("Mob nr1", 8, 24, 97, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) $Label1 = GUICtrlCreateLabel("Enemy", 32, 8, 36, 17) $Label3 = GUICtrlCreateLabel("Channel", 200, 8, 43, 17) $Button1 = GUICtrlCreateButton("ch1", 192, 24, 35, 21) $Button2 = GUICtrlCreateButton("ch2", 224, 24, 35, 21) $Label4 = GUICtrlCreateLabel("Respawn", 256, 8, 49, 17) $Label5 = GUICtrlCreateLabel("ch1", 312, 8, 22, 17) $Label6 = GUICtrlCreateLabel("ch2", 352, 8, 22, 17) $Label7 = GUICtrlCreateLabel("$h1", 312, 24, 22, 17) $Label8 = GUICtrlCreateLabel("$h2", 352, 24, 22, 17) $Button3 = GUICtrlCreateButton("Add Next", 8, 56, 75, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Input1 EndSwitch WEnd So for now have 2 questions in my head 1.Which option should i use to (after ch1 button) display current time + time for next respawn in $h1 position, 2. Add Next button generate new line + expand height of GUI window +30 <-- Is it turbo hard to do???
Moderators Melba23 Posted September 6, 2023 Moderators Posted September 6, 2023 Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts