-
Notifications
You must be signed in to change notification settings - Fork 0
/
USAGE.txt
156 lines (84 loc) · 4.53 KB
/
USAGE.txt
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
BATKIT COMMAND
BATKIT is an external command that allows using console graphicaly, but
not only. It enables also user interractions such as mouse.
For example, BATKIT allows console cursor position to be changed, change
loccally console's colors, or even get user mouse inputs.
SYNOPSIS
BATKIT [/d Text] [/g X Y] [/c Color] [/m] [/k] [k_] [/a Character] [/w
Duration] [/s File] [/o OffsetX OffsetY] [/h Mode] [/p Mode] [/t get title]
[/cs cursor size] [/n prints new line] [/l Prints length of given string]
[/ad prints ascii code of character given] [/q Disable or enable quick edit mode]
[/m[_] Prints hover info]
Allows user to manage console.
- /cs - Change cursor size from 0 to 100.
batkit /cs 50 then cursor will be half.
- /q - Enable or disable quick edit mode.
for example.
batkit /q 0 means off the quick edit mode.
batkit /q 1 means on the quick edit mode.
- /n - Print's a new line.
- /l - Return the length of string
- /ad - Prints the ascii code of characters given.
- /t Get the title of window and print it.
- /D : Prints text.
- /G : Changes cursor position.
.
- /C : Changes console's color .
- /M : Get a user click.
- /m_ : - Prints the hover info.
- /K[_] : Get a user keystroke.Without blocking or wait.
- /A : Prints character associated with a code. See BATKIT (/a) (->
``_BATKIT/ascii'') .
- /W : Make a delay.
- /S : Plays a .WAV file.
- /H : Hides or show the console's cursor.
- /O : Moves origin of console. This command is usefull to make
sprites via BATKIT.
- /P : Changes the console's window mode.details are below
/p Changes command prompt's window display mode.
- MODE : Specify the display mode that will be set for the command
prompt's window.
- 0 : Hides the window.
- 1 : Activate and show the window, restoring it to its original
size. This value should not be used because it's reserved to
first call to show window. You should use value 9 instead.
- 2 : Activate the window and minimizes it (show it in task bar).
- 3 : Activate the window and make it maximized.
- 4 : Shows the window restored to its original size. Same result
as value 1, execpt that the window does not obtain focus.
- 5 : Activate the window without modifiing it.
- 6 : Minimizes the window and activate another window.
- 7 : Minimizes the window. Same result as value 2 except that
the window is not activated.
- 8 : Shows the window without modifing it. Same result as value
1, except that the window does not obtain focus.
- 9 : Activate the window and set its size and its position to
the initial values if the window was either maximized or
minimized.
- 10 : Show the windows and set its size and its postion to the
default values.
- 11 : Minimizes the windows, even if the command prompt does not
respond. This value is not suposed to be used, as it would be
surprising that BATKIT (-> ``../BATKIT'') continue running even
if the command prompt does not respond.
Moves console's origin.
- OFFSETX : Column number of the new origin (starts at 0 (leftmost
column)).
- OFFSETY : Line number of the new origin (starts at 0 (top)).
Later commands BATKIT(/g) (-> ``goto'') will behave like they moved the
cursor to the point of coordinates (X+OFFSETX,Y+OFFSETY)
NOTES
You can mix several options on only one BATKIT command line, as shown by
....
Thus, the following script:
BATKIT /g 10 10
BATKIT /d "Hello world"
BATKIT /g 0 0
Can be shortened like this:
BATKIT /g 10 10 /d "Hello world" /g 0 0
LICENSE
BATKIT is a free software distributed under GNU GENERAL PUBLIC LICENSE
VERSION 1.0.
AUTHOR
BATKIT has been written by SHOAIB HASSAN. The project is no more develloped
actually.