A talking script!

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1417
Joined: Sun Nov 03, 2002 3:19 am

A talking script!

Post by Dorian (MJT support) » Tue Mar 12, 2013 11:26 pm

I found this script hidden away from 2011. It's so good that I want to highlight it. I had no idea a Macro could use speech, so kudos to bnc1 for writing it.

Code: Select all

Let>VBS_TIMEOUT=10000

VBSTART
  
   Sub Speak(text)
   Dim Talk
   Set Talk = CreateObject("SAPI.SpVoice")
   Talk.Speak text
   End Sub
   
VBEND

VBRun>Speak,The Macro has finished

exit>0


User avatar
Phil Pendlebury
Automation Wizard
Posts: 543
Joined: Tue Jan 16, 2007 9:00 am
Contact:

Post by Phil Pendlebury » Wed Mar 13, 2013 9:40 am

Haha brilliant. I sense a few script re-writes coming on...
Phil Pendlebury - Linktree

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts