Showing posts with label Notepad Tricks. Show all posts
Showing posts with label Notepad Tricks. Show all posts

Ghost keyboard Typing – Notepad Tricks

Hey guys , Today I am going to share with you a Short but Cool Notepad Trick. People Use notepad to type and save some important or regular information, But very less people know that there is much more that we can do with Notepad.
What if i say that we can make Notepad to type automatically what ever we wish to…. Unreal ? Yes it is possible and you will be doing it by yourself in just a few moments.You can show it to your friends and surprise them. Basically it is a prank that you can do with anyone just for fun.


This Process is Also known as ” Ghost Keyboard Typing ” Because you dont even touch your keyboard and words starts displaying in your notepad automatically, When you show this to your friend or anyone else, they will be excited to learn this from you as well.
Notepad Trick

Notepad trick to Type Automatically


Step 1: Right click on your desktop and select create new text document or simply Open Notepad.
Step 2: Exactly Copy the code given below and Paste it in notepad document that you have just created.

set wshshell = wscript.CreateObject(“wScript.Shell”)
wshshell.run “Notepad”
wscript.sleep 400
wshshell.sendkeys “S”
wscript.sleep 100
wshshell.sendkeys “M”
wscript.sleep 120
wshshell.sendkeys “A”
wscript.sleep 200
wshshell.sendkeys “R”
wscript.sleep 100
wshshell.sendkeys “T”
wscript.sleep 140
wshshell.sendkeys “T”
wscript.sleep 100
wshshell.sendkeys “R”
wscript.sleep 50
wshshell.sendkeys “I”
wscript.sleep 120
wshshell.sendkeys “C”
wscript.sleep 170
wshshell.sendkeys “K”
wscript.sleep 100
wshshell.sendkeys “S”
wscript.sleep 50
wshshell.sendkeys “.”
wscript.sleep 120
wshshell.sendkeys “N”
wscript.sleep 160
wshshell.sendkeys “E”
wscript.sleep 200
wshshell.sendkeys “T”
wscript.sleep 100

Step 3: Save the above code in Notepad file As ” smarttricks.vbs ” (Without Quotes ) but make sure  While saving this file select Save as type  “All files” and extension must be .vbs

Step 4: Now double click on The saved File, You will see “SMARTTRICKS.NET ” will be typed  Automatically, This is one of the Most awesome Notepad Trick that You learned today. Moreover  you can edit the Words In the above given Code with any desired words you want Notepad to type for you. e.g. : 
MY FRIEND READING THIS IS FOOL..vb

IMPORTANT !!!
While Double Clicking on the saved file if you see an error box like ” line 1 ” and “Char 37” Then dont worry, Right click on smarttricks.vbs and click on edit,
Now delete all Double quotations ie : ”  and Type them all manually from your keyboard, save it and now you will have no errors.

Enjoyed this Notepad trick ? Share with your friends on Social media.!!

How To Lock A Folder Using Notepad

How To Lock A Folder Using Notepad


1. Start--> Run --> Notepad and hit enter.
2. Now Copy below code and paste it in notepad


cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

 Now Save Notepad as FolderLock.bat.

3. Now double click on FolderLock.bat file then a new folder named as Locker is created.
4. Save your files in Locker folder then again double click on the FolderLock.bat, a prompt is displayed.
5. To lock the folder(Locker) press "y " in the prompt, to unlock press "n"  in the prompt.