Convert Text Into Audio Using Notepad
- Open Notepad file on your Windows PC.
- Copy and paste the below mentioned code :
Dim msg, sapi
msg=InputBox(“Enter your text for conversion–pasindu785@blogspot.com”,”sinhala writer Text-To-Audio Converter”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak msg
msg=InputBox(“Enter your text for conversion–pasindu785@blogspot.com”,”sinhala writer Text-To-Audio Converter”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak msg
- Save this file with any name with .vbs as extension. For eg. (Text-To-Audio.vbs)
Shut-down The Computer After Conveying Any Message
This one is kind of an annoying trick and if used unknowingly can certainly cause problems (am serious). What this trick does is, after conveying a (any) message it shuts down the computer without any confirmation. In order to create the Shutdown file, follow the below mentioned steps:
- Open Notepad.
- Paste the following code in it:
@echo off
msg * Its time to get some rest.
shutdown -c “Error! You have to take rest! Byeeeeee” -s
- Save the file with any name but with .bat extension and close it. For eg. TakeRest.bat
No comments:
Post a Comment