Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speak text
#4
Hello Gintaras,

I want to use the Speak command to read the clipboard contents (text) from text selected in any window. When I test the command from within QM it works (i.e it reads the script contents when I select it) However if I create an executable from the script and try it in another application like Notepad that window loses focus and I get a 'Waiting while the window is hung' message.
 
Code:
Copy      Help
str s
s.getsel ;;store selected text into variable s
Speak s


What am I doing wrong?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)