PLZ finish it Topic is solved

Ask gaming related questions (AHK v1.1 and older)
GTA123456

PLZ finish it  Topic is solved

Post by GTA123456 » 15 Apr 2021, 11:58

Code: Select all

; Generated by AutoGUI 2.6.2
#SingleInstance Force
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1

Gui Add, ComboBox,va x16 y16 w120, lbutton|rbutton
Gui Add, Radio, x16 y40 w120 h23, 200ms
Gui Add, Radio, x16 y64 w120 h23, 500ms
Gui Add, Radio, x16 y88 w120 h23, 1000ms
Gui Add, Radio, x16 y112 w120 h23, 2000ms
Gui Add, Button, x32 y152 w80 h23, &OK

Gui Show, w155 h222, Window

Return


GuiEscape:
GuiClose:
    ExitApp
[Mod edit: [code][/code] tags added.]
Last edited by BoBo on 15 Apr 2021, 16:10, edited 2 times in total.
Reason: Moved to Gaming section.

User avatar
boiler
Posts: 17106
Joined: 21 Dec 2014, 02:44

Re: PLZ finish it

Post by boiler » 15 Apr 2021, 12:41

Code: Select all

; Generated by AutoGUI 2.6.2
#SingleInstance Force
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1

Times := ["200ms", "500ms", "1000ms", "2000ms"]

Gui Add, ComboBox,va x16 y16 w120 vWhichBtn, lbutton|rbutton
Gui Add, Radio, x16 y40 w120 h23 vTime, % Times[1]
Gui Add, Radio, x16 y64 w120 h23, % Times[2]
Gui Add, Radio, x16 y88 w120 h23, % Times[3]
Gui Add, Radio, x16 y112 w120 h23, % Times[4]
Gui Add, Button, x32 y152 w80 h23, &OK

Gui Show, w155 h222, Window

Return

ButtonOK:
	Gui, Submit
	MsgBox, % WhichBtn "`n" Times[Time]
	Gui, Show
return

GuiEscape:
GuiClose:
    ExitApp

Post Reply

Return to “Gaming Help (v1)”