Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speak text
Speaks text. Works on Windows XP. For other OS, you need to install SAPI 5 speech engine (see comments in code), although I did not tested it on other OS. Tested with QM 2.1.5 and later, and possibly will also work with QM 2.1.0 and later.

Download and import the attachment. To speak text, use code like this:

Select All      Help
Speak "text"

Note: You don't need this if you have QM 2.1.8 or later.

Attached Files
.qml   Speak.qml (Size: 2.5 KB / Downloads: 650)
is there a way to Speak text and a string at the same time ?
Select All      Help
str line1="text in string"

Speak "HI THERE" line1

something like this, speak the text then the string
str line1="text in string"

str s.from("Hi THERE" " " line1)
Speak s

interesting note: HI speaks as H I, but Hi speaks as one word.

Forum Jump:

Users browsing this thread: 1 Guest(s)