Jump to content

Recommended Posts

Posted

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

example.png

 

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
Posted

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...