Notepad Tricks I 10:48 BackBenchers World In this post here below are shown some cool Notepad trick which can be used in your Windows PC. Make Your PC Welcome You When It Starts Procedure: Step1: Open Notepad (Press Windows key + r and type notepad and hit Enter). Step2: Copy and Paste the following text into the notepad window. Dim speaks, speech speaks="Welcome Back, Your_Name" Set speech=CreateObject("sapi.spvoice") speech.Speak speaks Step 3: Now save the file as Welcome.vbs (Press Ctrl + s and write the file name as Welcome.vbs and select file type as All Files) Step 4: Move this file to the startup folder. Tip: For the above operation you can Browse the Startup folder while saving the file else you can save it to document folder and than cut and paste to the Startup folder. Note: It is necessary that this file should be placed in Startup Folder else it will not work. Using Notepad As Diary A simple way to record what you are doing at certain times is with a .LOG file in Notepad. Using this method, each time you open and close Notepad, a timestamp is created to time your activities more efficiently. Simply open the document, record what you did, save the file, and then close it. Procedure: Step1: Open Notepad (Press Windows key + r and type notepad and hit Enter). Step2: On the very first line write .LOG and save the file with any name but with .txt extension and close it. Step 3: Now whenever you open the file in Notepad, a timestamp will be inserted. Note: If you are in any text document in Notepad and decide you need to add the current timestamp, just hit F5. The timestamp will automatically be created. Apply Loop To CD Drive To Eject Several Times Procedure: Step1: Open Notepad (Press Windows key + r and type notepad and hit Enter). Step2: Copy and Paste the following text into the notepad window. Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop Step 3: Now save the file as ABC.vbs (Press Ctrl + s and write the file name as ABC.vbs and select file type as All Files) Step 4: Now if you Double Click on this file to open it, loop will be applied to eject CD-Drive 5000 times. Tip: In order to revert this operation, open Task Manager and Find the Script Process and End Process it. Note: The file name could be anything but the extension must be .vbs. Next Page Email ThisBlogThis!Share to XShare to Facebook Notepad Tricks / Tips & Tricks No Comments
0 comments:
Post a Comment