Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the format Name#Password
Comment
[i]Italic Text[/i]
[b]Bold Text[/b]
[spoiler]Spoiler Text[/spoiler]
>Highlight/Quote Text
[pre]Preformatted & Monospace Text[/pre]
[super]Superset Text[/super]
[sub]Subset Text[/sub]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


Discord Now Fully Linked With 420chan IRC

I would go to a VBS forum, but...

Reply
- Sat, 11 Feb 2017 07:27:55 EST 1joa5uVv No.36502
File: 1486816075377.png -(11163B / 10.90KB, 359x171) Thumbnail displayed, click image for full size. I would go to a VBS forum, but...
I want to make a better GUI for this script. The script is supposed to accept an input string and a number -> wait -> type that string and simulate enter key in loop.
Like a basic emergecny beacon of sorts

set shell = createobject("wscript.shell")

strtext = inputbox("Message :")
strtimes = inputbox("Number of times to spam")

if not isnumeric(strtimes) then
wscript.quit
end if
msgbox "You have 5 minutes to end wscript.exe"
wscript.sleep(300000)
for i=1 to strtimes
shell.sendkeys(strtext & "{enter}")
wscript.sleep(1000)
next


But can I rather leave a msgbox open with a button to cancel it? -> 5 mins is up -> one of two things (whichever is easier for yall)
1) msgbox dissapears and the loop begins spamming message. this requires quickly ending wscript.exe
2) gui remains (msgbox with quit button), maybe even has a countdown, and allows clicking to quit the script, and the spamming happens after the timer just normal.

Option 2, harder, but does it require fancy threading?
>>
Cedric Pickwell - Sun, 12 Feb 2017 02:20:17 EST cpPd0VLJ No.36503 Reply
If you wish to avoid threading, then you can do all of this on a single-thread if you create the message-box with a timer attached to a callback (say ticks once every second or so).
>>
Cedric Pickwell - Sun, 12 Feb 2017 16:45:51 EST cpPd0VLJ No.36505 Reply
>>36504
I don't have a going rate. You should post this question on the Windows subsection of Stack Overflow.
>>
Edward Himmermock - Wed, 08 Mar 2017 05:14:37 EST YL0YFsWq No.36605 Reply
>>36603
BrU strikes again

Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.