Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vObj = CreateVoiceObject("vObj");
- if not vObj then
- Application.Exit();
- else
- Window.Maximize(Application.GetWndHandle());
- bKey = false;
- lang = SetLang("40A", "LangCode")
- rate = SetRate(vObj, -2);
- SetReadMethod(1);
- if SetVoice(vObj, 2) then
- local sFile = _DesktopFolder.."\\test.txt";
- ReadFile(vObj, sFile);
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement