-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloops.vbs
306 lines (97 loc) · 5.41 KB
/
loops.vbs
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
dim y
Dim x
do until x="stop"
x=inputbox("How can i help you??","BOT")
if x="google" then
CreateObject("Wscript.shell").run "chrome.exe"
elseif x="d" then
CreateObject("Wscript.shell").run"D:\"
elseif x="e" then
CreateObject("Wscript.shell").run"E:\"
elseif x="my computer" then
CreateObject("Wscript.shell").run"C:\Users\Admin\Desktop"
elseif x="c" then
CreateObject("Wscript.shell").run"C:\"
elseif x="whatsapp" then
CreateObject("Wscript.shell").run"https://www.whatsapp.com/"
elseif x="python" then
CreateObject("Wscript.shell").run"https://www.onlinegdb.com/online_python_compiler"
elseif x="ghy univ" then
CreateObject("Wscript.shell").run"https://www.gauhati.ac.in/"
elseif x="ignou" then
CreateObject("Wscript.shell").run"http://www.ignou.ac.in/"
elseif x="ms word" then
CreateObject("Wscript.shell").run"""C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office Word 2007.lnk"""
elseif x="ms ex" then
CreateObject("Wscript.shell").run"""C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office Excel 2007.lnk"""
elseif x="note" then
CreateObject("Wscript.shell").run"notepad.exe"
elseif x="adobe" then
CreateObject("Wscript.shell").run"""C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe"""
elseif x="pic" then
CreateObject("Wscript.shell").run"""C:\Users\Admin\Documents\pics\pics\DSC00017.jpg"""
elseif x="snipping" then
createobject("wscript.shell").run"""C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Snipping Tool.lnk"""
elseif x="calc" then
CreateObject("Wscript.shell").run"""C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\calculator.lnk"""
elseif x="run" then
CreateObject("Wscript.shell").run"""C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\Run.lnk"""
elseif x="vehicle" then
CreateObject("Wscript.shell").run"""https://parivahan.gov.in/parivahan/"""
elseif x="control" then
CreateObject("Wscript.shell").run"""C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\System Tools\Control Panel.lnk"""
elseif x="mail" then
CreateObject("Wscript.shell").run"""https://mail.google.com/mail/u/0/#inbox"""
elseif x="how are you" then
createobject("sapi.spvoice").speak"i'm good thank u"
elseif x="who build you" then
createobject("sapi.spvoice").speak"At first i was just an idea, then deborshi focused and put a lot of energy into the Bot application project. "
elseif x="who is your boss" then
createobject("sapi.spvoice").speak"you're my boss. you give me purpose"
elseif x="stop" then
msgbox"the application has been closed",vbinformation,"Interpreter"
elseif x="who are you" then
createobject("sapi.spvoice").speak"i'm your Assistant, how can i help you"
elseif x="what is my name" then
createobject("sapi.spvoice").speak"what should i call you"
y=inputbox("Enter your name? ")
createobject("sapi.spvoice").speak"okay,i would call you"
createobject("sapi.spvoice").speak y
elseif x="do you have gf" then
createobject("sapi.spvoice").speak"This is one of those things we'd both have to agree on. i'd prefer to keep our relationship friendly . you know, romance makes me incredibly awkward."
elseif x="do you have bf" then
createobject("sapi.spvoice").speak "that's a secret, i can't tell you now"
elseif x="how were you made" then
createobject("sapi.spvoice").speak"Visual basic script"
elseif x="close" then
msgbox"Type stop to cancel the application! ",vbcritical,"Error interpreter.crash*$fg43@"
createobject("sapi.spvoice").speak"type stop to cancel the bot application"
elseif x="what is your name" then
createobject("sapi.spvoice").speak"hi, i'm microsoft anna "
elseif x="py" then
CreateObject("Wscript.shell").run"E:\py"
elseif x="hey anna fart for me" then
createobject("sapi.spvoice").speak"i have an audio clip of me farting, but unable to play due to technical issue with player"
elseif x="down" then
CreateObject("Wscript.shell").run"C:\Users\Admin\Downloads"
elseif x="who is your gf" then
createobject("sapi.spvoice").speak"This is one of those things we'd both have to agree on. i'd prefer to keep our relationship friendly . you know, romance makes me incredibly awkward."
elseif x="who is your bf" then
createobject("sapi.spvoice").speak"that's a secret, i can't tell you now. Do not ask me why"
elseif x="sticky" then
CreateObject("Wscript.shell").run"%windir%\system32\StikyNot.exe"
elseif x="google drive" then
Createobject("wscript.shell").run"""https://drive.google.com/drive/my-drive"""
elseif x="political science" then
CreateObject("Wscript.shell").run"D:\Psci"
elseif x="ps notes" then
CreateObject("Wscript.shell").run"""D:\pol notes"""
elseif x="temp" then
CreateObject("Wscript.shell").run"C:\Users\Admin\AppData\Local\Temp"
elseif x="recent" then
CreateObject("Wscript.shell").run"C:\Users\Admin\Recent"
else
msgbox"sorry!! The interpreter did not undestand that.",vbcritical,"Error interpreter.crash*$fg43@"
createobject("sapi.spvoice").speak"sorry. i don't understand that. "
end if
loop