-
Notifications
You must be signed in to change notification settings - Fork 1
/
gui.bat
52 lines (45 loc) · 1.49 KB
/
gui.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!-- :: Batch - Init Window, Handle Close ( Don't do anyhting here, use 'gui_shell.bat' to write batch code )
@echo off
for /F "delims=" %%a in ('mshta.exe "%~F0"') do set "reply=%%a"
if "%reply%" == "" ( goto :EOF )
-->
<html>
<head>
<title>Batch GUI - Launcher</title>
<script language="JavaScript" src="js/window.js"></script>
<HTA:APPLICATION
NAME="myApp"
BORDER="thin"
BORDERSTYLE="normal"
ICON="fav.ico"
WINDOWSTATE="normal"
INNERBORDER="no"
MAXIMIZEBUTTON="no"
MINIMIZEBUTTON="yes"
SINGLEINSTANCE="yes"
CONTEXTMENU="no"
SYSMENU="yes"
SCROLL="no"
SELECTION="no"
VERSION="1.0"
>
<link rel="stylesheet" href="css/style.css">
</head>
<body >
<div id="pages">
<div name="Page 1">
<div class="button" onclick="shell('ENABLE', 1);">Enable Service</div>
<div class="button" onclick="shell('LAUNCH', 1);">Launch Program</div>
<div class="button fixed right" onclick="setPage(2);">Settings</div>
</div>
<div name="Page 2">
<div class="button" onclick="shell('CONFIG', 1);">Edit Config File</div>
<div class="button" onclick="shell('RESET', 1);">Reset Settings</div>
<div class="backButton button" onclick="setPage(1);">Go Back</div>
</div>
</div>
<div class="author fixed left">By NxRoot</div>
</body>
<script language="JavaScript" src="js/hover.js"></script>
<script language="JavaScript" src="js/pages.js"></script>
</html>