Hi Guys, well i have recently started using Notepad and I found some cool tricks.
First of all you need to be on a WinXP or anything windows. Next go to Start, Accessories, Notepad. Now read the following.
How to: Javascript Popup
- Code:
-
x=msgbox("[b]Popup Message[/b]",[b]Button Numbers[/b],"[b]Popup Header[/b]")
Now, Where it is bold fill in the following information:
Popup Message: This is where you put what you want the pop up to say.
Popup Header: This is what the box will say, like right now on notepad it would say "Untitled Notepad" instead of that it would say what you wrote down.
Button Numbers: Now this is the fun part, this is where you decide how you want to create your popup.
Here are the numbers:
- Code:
-
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.
After you have finished the coding go to file and click "save as." Than select the option "All Files" You should than save it as Popup.vbs
MAKE SURE YOU PUT THE .vbs Than Create a short-cut of it. Drag the shortcut to your desktop, if not already there. From there you can customize it. Right click and select "properties" from there you can change its name, and its icon.
And there you have it, you now know how to make a popup.
_______________________________________________________________________________________
Autotyper:
Here i will show you how to make an Autotyper. An Autotyper is a javascript object that when you click on the file it will open up Notepad and notepad will start typing automatically.
In notepad copy and paste the following code:
- Code:
-
set wshshell = wscript.CreateObject("wscript.shell")
wshshell.run "Notepad"
wscript.sleep 2000
wshshell.AppActivate "Notepad"
WshShell.SendKeys "[b]H[/b]"
WScript.Sleep 500
WshShell.SendKeys "[b]ell[/b]"
WScript.Sleep 500
WshShell.SendKeys "[b]o[/b]"
Once you type that in you have the option to change the bold faced items. The bold faced items are what it will type. Like when you open it, it will type Hello. If you want to add more just copy the " WshShell.SendKeys "
ell"
WScript.Sleep 500" and paste it making sure to change the bold faced item to the letters you want.
When done once again go to File, Save As, and click All Files than save it as Autotyper.vbs
And than create a shortcut, and you can customize the icon and name.
Than there you have it, your own Autotyper.
_______________________________________________________________________________________
Annoying Command Prompt Opener(ACPO)
This little trick, once clicked will randomly open up Command Prompt Boxes
So open notepad and copy the following:
- Code:
-
start
start
start
start
start
the "Start" is how many times the command prompt box will open.
start = open onceThis time to save go to File, Save As, Select All Files and save it as Start
.bat NOT start.vbsSo you could put 100 start's and command prompt would open 100 times.
And there you have it, the Annoying Command Prompt Opener, as i call it the ACPO.
_______________________________________________________________________________________
I will post more when i learn more. Feel free to tell me some and ill put it in my post.