Skip to content

Latest commit

 

History

History
116 lines (97 loc) · 4.75 KB

adv.md

File metadata and controls

116 lines (97 loc) · 4.75 KB


CATEGORIES :





AUTOHOTKEY SCRIPTS

HOW STUFF WORKS

LEARN GIT

WEB DEVELOPMENT

NOTEPAD TRICKS

1. Matrix falling text motion

Download - Github gist

OR

Copy this code into a notepad file, save it is a 'Matrix.bat'

@echo off 
color 02 
:crxzygit 
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%
goto crxzygit  

2. How to make your computer Welcome 'your name' on start up

Download - Github gist

OR

Copy this code into a notepad file, save it is a 'Welcome.vbs'

Dim speaks, crxzygit 
speaks = "Welcome to your Laptop, Mr. Akshay" 
Set crxzygit = CreateObject("sapi.spvoice") 
Set crxzygit.Voice = crxzygit.GetVoices.Item(1)
crxzygit.Speak speaks  

Tip

To make your computer greet you when you turn it ON :

  1. Open the run box by pressing the Windows button + R and typing "AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup".
  2. Save this code in Notepad, then click Save As and enter any name after the type.vbs, then click on all files.everything is done.

3. TEXT TO AUDIO

Download - Github gist

OR

Copy this code into a notepad file, save it is a 'Text-to-Audio.vbs'

Dim msg, crxzygit 
msg=InputBox("ENTER YOUR TEXT FOR AUDIO"& vbcrlf &"Created by:"& vbcrlf &"https://github.com/crxzygit","Text-To-Audio Converter by crxzygit ") 
Set crxzygit=CreateObject("sapi.spvoice")
Set crxzygit.Voice = crxzygit.GetVoices.Item(1)
crxzygit.Speak msg   

4. Add time stamp everytime text file is edited

  1. Open Notepad.
  2. Type ".LOG" on the first line (.LOG must be in capital letters).
  3. Save and close the file.
  4. Open the saved file, Notepad will automatically insert the current date and time after the last line.
  5. Type your data for that time and date, then save the file again.