View Single Post
Old 10-26-2016, 03:26 PM
Cerian Knight's Avatar
Cerian Knight Cerian Knight is offline
Polymath (in disciplina)

Super Moderator
* Expert *
Join Date: May 2004
Location: Michigan
Posts: 4,206

Originally Posted by b_rianv View Post
How could I get this code to speak every 30 minutes?
The least amount of effort is to change the last line to:
sapi.Speak wish+". Brian, the time is "+cstr(Time)
... which you might notice makes all the code from 'Select Case' to 'End Select' unnecessary, since the 'hr' variable is no longer used. The seconds will be spoken, as well.

Then use the Windows Task Scheduler to create a daily task that starts the vbs on the hour and recurs every 30 minutes.
I got all the answers wrong on the GLAT, apparently even #9 (where I put a period in the middle of the box and labeled it 'singularity ripe for rapid inflation').

Last edited by Cerian Knight; 10-26-2016 at 03:42 PM.
Reply With Quote