mwatnj Posted March 28, 2008 Share Posted March 28, 2008 I'm trying to use ConsoleWrite to generate output in a compiled script. I've taken the sample code from the documentation: Local $var = "Test" ConsoleWrite("var=" & $var & @CRLF) When I run it in the IDE I see the message displayed in the output window. However, if I compile the script, creating "ConsoleWriteSample.exe" and then run it from command.com, it does not generate any output. Also, if I try to run "AutoIT3.exe ConsoleWriteSample.au3", I have the same problem. Is the function supposed to work in compiled programs? If so, what am I doing wrong? Link to comment Share on other sites More sharing options...
weaponx Posted March 28, 2008 Share Posted March 28, 2008 ConsoleWrite isn't meant to output to the command prompt, althought the latest beta provides and option to do this.http://www.autoitscript.com/forum/index.ph...solewrite++beta Link to comment Share on other sites More sharing options...
mwatnj Posted March 28, 2008 Author Share Posted March 28, 2008 ConsoleWrite isn't meant to output to the command prompt, althought the latest beta provides and option to do this.http://www.autoitscript.com/forum/index.ph...solewrite++betaThat's it. I tried the Beta and it works! Thanks. 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