Thanks for this useful information by NextOfWindows
This small tutorial will make your PC speak out the time every hour. This will help especially if you’re a programer. Because programmers usually lose track of time.
This small tutorial will make your PC speak out the time every hour. This will help especially if you’re a programer. Because programmers usually lose track of time.
Most Programmers don’t use a Windows OS. But there are some ! This tutorial is for those people.
Create a file named time.vbs containing these code :
Dim speaks, speech
<div style="text-align: left;"> <span style="background-color: white;"><span style="font-family: inherit; line-height: 25px; text-align: center;">speaks = "It is " & hour(time) & " O’clock"</span></span> </div> <p> <span style="font-family: inherit;"><span style="background-color: white;"></span></span> </p> <div style="text-align: left;"> <span style="background-color: white;"><span style="font-family: inherit; line-height: 25px; text-align: center;">Set speech = CreateObject("sapi.spvoice")</span></span> </div> <p> <span style="font-family: inherit;"><span style="background-color: white;"></span></span> </p> <div style="text-align: left;"> <span style="background-color: white;"><span style="font-family: inherit; line-height: 25px; text-align: center;">speech.Speak speaks</span></span> </div> <p> <span style="background-color: white; font-family: inherit;"></span> </p> </blockquote> <p> <span style="background-color: white; font-family: inherit;">Save the file wherever you want.</span><br /><span style="background-color: white; font-family: inherit;">Open the <b>Run </b>dialog<b> </b>by pressing <b>WIN + R</b>. Type <b>taskschd.msc</b> and hit <b>Enter</b> to run the program.</span> </p> <div style="text-align: center;"> </div> <p> <span style="background-color: white; font-family: inherit;"><b>WIN = </b>Windows button on keyboard.</span> </p> <div class="separator" style="clear: both; text-align: center;"> <a href="//4.bp.blogspot.com/-jQKV82iZM4M/Ub1P7qOCdQI/AAAAAAAACsw/09G1Rhp9dpU/s1600/0003.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="//4.bp.blogspot.com/-jQKV82iZM4M/Ub1P7qOCdQI/AAAAAAAACsw/09G1Rhp9dpU/s1600/0003.png" /></span></a> </div> <p> <span style="background-color: white; font-family: inherit;"><br /></span> </p> <div style="text-align: left;"> <span style="background-color: white; font-family: inherit;"><span style="line-height: 22px; text-align: center;">In <b>Task Scheduler</b>, click </span><strong style="border: 0px; font-style: inherit; line-height: 22px; margin: 0px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">Create Task</strong><span style="line-height: 22px; text-align: center;">.</span></span> </div> <div style="border: 0px; line-height: 22px; margin-bottom: 20px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"> <span style="background-color: white; font-family: inherit; margin: 0px; padding: 0px;">Give the name <b>Time</b> </span><span style="background-color: white;">under </span><strong style="border: 0px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">General</strong><span style="background-color: white;"> tab</span><span style="background-color: white; font-family: inherit;">.</span><br /><span style="font-family: inherit;">Run the task repeatedly every hour by adding a trigger. Like below:</span></p> <div class="separator" style="clear: both; text-align: center;"> </div> <div class="separator" style="clear: both; text-align: center;"> <a href="//1.bp.blogspot.com/-ZT7BBT-AXco/Ub1QdM6-S2I/AAAAAAAACtE/7lY7AOF9EMM/s1600/0004.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="553" src="//1.bp.blogspot.com/-ZT7BBT-AXco/Ub1QdM6-S2I/AAAAAAAACtE/7lY7AOF9EMM/s640/0004.png" width="640" /></a> </div> <p> <span style="background-color: white;"><span style="font-family: inherit;"><br /></span></span><span style="font-family: inherit;"><span style="background-color: white;">Point the location of the <b>time.vbs</b> file in <b>Program/Script</b> field, like below:</span></span> </p> <div class="separator" style="clear: both; text-align: center;"> <a href="//4.bp.blogspot.com/-Fgvwu8Hrvck/Ub1P9vDn2RI/AAAAAAAACtA/hiPv8jRDI6c/s1600/0005.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="//4.bp.blogspot.com/-Fgvwu8Hrvck/Ub1P9vDn2RI/AAAAAAAACtA/hiPv8jRDI6c/s1600/0005.png" /></a> </div> <p> <span style="font-family: inherit;"><br /></span><span style="font-family: inherit;">Change the program input to the path where you saved </span><b style="font-family: inherit;">time.vbs</b><span style="font-family: inherit;">.Click </span><b style="font-family: inherit;">OK</b><span style="font-family: inherit;"> button.</span><br /><span style="font-family: inherit;">That’s it for today. I will post something more cool next ti</span></div> </div> <div style="border: 0px; line-height: 22px; margin-bottom: 20px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"> <div style="background-color: white; border: 0px; color: #373737; font-family: 'Segoe UI', Segoe, 'Helvetica Neue', Verdana, Geneva, Arial; font-size: 1.1em; margin-bottom: 20px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"> <span style="margin: 0px; padding: 0px;"></span> </div> </div></div>
Show Comments