Created
February 23, 2016 09:19
-
-
Save sgpopov/42c6596934c3a8c22b7c to your computer and use it in GitHub Desktop.
Windows: announce the time every hour
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim speaks, speech | |
speaks = "It's " & hour(time) & " o'clock" | |
Set speech = CreateObject("sapi.spvoice") | |
speech.Speak speaks |
Author
sgpopov
commented
Feb 23, 2016
- Type schedule tasks in search and click on the schedule tasks result, to open the Task Scheduler.
- Under Action, select Create Task. Give the task a name (e.g. SpeakTime).
- Set the Trigger parameters as shown in the image.
- One time – Start date & time
- Repeat task every 1 hour
- Duration – Indefinitely
- Under Actions, click New button. The new action box will open. Select the action "Start a program" and browse to the vbs file to set the path.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment