#cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.11.0 (beta)
Author: myName
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
#include <GUIConstants.au3>
Global $thisprogram =
"MixamAO Gui" Global $fullredvexpath,
$redvexpath,
$redvexname
#Region ### START Koda GUI section ### Form=E:\Desktop\MixamAO Gui\MixamAO.kxf
$MixamAO_Gui =
GUICreate("MixamAO",
469,
569,
246,
123) GUICtrlSetTip(-1,
"If a game is not made in this long, restart redvex") GUICtrlSetTip(-1,
"How long to wait before restarting after a ban") $InputRedvexFolder =
GUICtrlCreateInput(IniRead($thisprogram &
".ini",
"Settings",
"RedVexDir",
"""RedvexFolder"""),
123,
372,
280,
21) $Label9 =
GUICtrlCreateLabel("This is MixamAO Beta5 and this tab is also under construction",
76,
223,
294,
17) #EndRegion ### END Koda GUI section ###
$fullredvexpath =
FileOpenDialog("Locate your Redvex.exe file:",
@DesktopDir &
"\",
"Executable (*.exe)",
1 +
2,
"RedVex 3.exe")
MsgBox(4096,
"",
"No File(s) chosen")
_SaveChanges()
_SaveChanges()
Local $refreshTray,
$rdPrevention,
$manageLogs
If $refreshTray =
$GUI_CHECKED Then IniWrite($thisprogram &
".ini",
"Settings",
"RefreshTray",
1) IniWrite($thisprogram &
".ini",
"Settings",
"RefreshTray",
0)
If $rdPrevention =
$GUI_CHECKED Then IniWrite($thisprogram &
".ini",
"Settings",
"RDprevention",
1) IniWrite($thisprogram &
".ini",
"Settings",
"RDprevention",
0)
If $manageLogs =
$GUI_CHECKED Then IniWrite($thisprogram &
".ini",
"Settings",
"ManageLogs",
1) IniWrite($thisprogram &
".ini",
"Settings",
"ManageLogs",
0)
IniWrite($thisprogram &
".ini",
"Settings",
"RedVex",
'""' &
GUICtrlRead($InputRedvexName) &
'""') IniWrite($thisprogram &
".ini",
"Settings",
"RedVexDir",
'""' &
GUICtrlRead($InputRedvexFolder) &
'""')