Jump to content

ConsoleWrite not writing to console/stdout (Windows)?


ohaya
 Share

Recommended Posts

Hi,

I am trying to use ConsoleWrite() to output some debug to stdout/console on a Windows command (cmd) window, but it seems like nothing is being output.

I noted that the help says:

Quote

This does not write to a DOS console unless the script is compiled as a console application.

but what does that mean (the "compiled as a console application" part?

I have also tried adding

Quote

#AutoIt3Wrapper_Change2CUI=y

to the beginning of my .au3 and re-compiling, but when I run the .exe in a command window, nothing is being output?

How do I get the output from ConsoleWrite() to appear?

Thanks,

Jim

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...