quest Posted August 16, 2004 Share Posted August 16, 2004 Hi, I have been trying all morning to get a DOS speech program to output text BUT without showing the DOS window? This is the line I have at moment: RunWait ('"C:\Program Files\Dsay\DSAY.EXE" HELLO WORLD') HELLO WORLD is the text to output Any parameters that I type after HELLO WORLD is actually pronounced, please where am i going wrong? Regards, Gary Link to comment Share on other sites More sharing options...
Andre Posted August 16, 2004 Share Posted August 16, 2004 Hi, See HelpFile RunWait ( "filename" [, "workingdir" [, flag]] ) Parameters filename The name of the executable (EXE, BAT, COM, PIF) to run. workingdir [optional] The working directory. flag [optional] The "show" flag of the executed program: @SW_HIDE = Hidden window @SW_MINIMIZE = Minimized window @SW_MAXIMIZE = Maximized window Return Value Success: Returns the exit code of the program that was run. Failure: Depends on RunErrorsFatal; see Remarks. so in your case : RunWait("C:\Program Files\Dsay\DSAY.EXE HELLO WORLD","",@SW_HIDE) Regards, Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
quest Posted August 16, 2004 Author Share Posted August 16, 2004 (edited) Hi Andre, Thats got it working........... that was the command I was trying to get working, i tried all combinations! It was the " " bit I missed AND removal of ' ' surrounding the line. The hours I spent on that, I tried to do it without help Post on here and solved in minutes!!!! Thanks Regards, Gary Edited August 17, 2004 by quest Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now