Advertisement
Leka74

Untitled

Nov 30th, 2011
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. vObj = CreateVoiceObject("vObj");
  2. if not vObj then
  3.     Application.Exit();
  4. else
  5.     Window.Maximize(Application.GetWndHandle());
  6.     bKey = false;
  7.     lang = SetLang("40A", "LangCode")
  8.     rate = SetRate(vObj, -2);
  9.     SetReadMethod(1);
  10.     if SetVoice(vObj, 2) then
  11.         local sFile = _DesktopFolder.."\\test.txt";
  12.         ReadFile(vObj, sFile);
  13.     end
  14. end
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement