Do you know what VBScript is? I don't actually know how to explain it either, but it's some kind of script that you can use to do all kinds of stuff. I'm going to be focusing on pop-ups with VBS 'cause I don't know what other things you can do with VBS.
Here's how to make your own pop-up.
Copy and paste the code that's on the next line.
x=msgbox("box text", ,"box title")
the different buttons and there numbers are:
0 OK button only.
1 OK and cancel buttons.
2 abort, retry, and ignore buttons.
3 yes, no, and cancel buttons.
4 yes and no buttons.
5 retry and cancel buttons.
16 critical message icon.
32 warning query icon.
48 warning message icon.
64 information message icon.
0 normal message box.
4096 always stays top of the desktop.
Then, in between the commas, type in the numbers above and use + if you need to add more than one number. Replace the "box title" and "box text" with whatever you want in there.
Here is an example.
X=msgbox("Computer set to self-destruct",0+16+4096 ,"WARNING!")
You just type that in notepad and save it as "Whatever you want.vbs".
EXPLANATION OF CODE
That code that I just typed above, which is,
X=msgbox("Computer set to self-destruct",0+16+4096 ,"WARNING!")
will do...
The "Computer set to self-destruct" will make the pop-up say Computer set to self-destruct.
The "WARNING" is the title that will show up on the window
0, in the first case, will mean that there is only the "OK" button
16 will make the pop-up style be a critical message
4096 will make the pop-up always stay on top of the desktop, meaning that you can't minimize it
Remember that all numbers, except for the first one, are all optional.
Here is where all of my pop-ups are going to be.
So have fun, and don't do things I wouldn't do!
No comments:
Post a Comment