- Firstly
Create a file with the following lines codes:
- Dim speaks, speech
- speaks = “It is ” & hour(time) & ” O’clock”
- Set speech = CreateObject(“sapi.spvoice”)
- speech.Speak speaks
You can double click the file to test out how it sounds.
- Secondly
1. Open the Task Scheduler, you can press WIN + R, type in taskschd.msc, and hit Enter to start.
2. In Task Scheduler, click Create Task under Action.
3. Give a name under General tab, such as Time.
4. Add a trigger to run the task repeatedly very hour. Like below:
5. Add an action under Actions tab, like below:
6. That’s it. Click Ok to close out it.
Congratulations. You’ve successfully turned your computer into a famous Big Ben Clock with a nice male voice speaking out time at every hour.
Note: If this tutorial worked for you (and it should work), please leave a comment below. Thanks.