Jump to content
Sign in to follow this  

Function ConsoleWrite & DOS

Recommended Posts


As described in the documantation,

The purpose for ConsoleWrite function is to write to a console which many popular text editors can read.

ConsoleWrite does not write to a DOS console.

Is there a different function that write to the DOS console?


Share this post

Link to post
Share on other sites

search for AutoIt3Lib

and function _Api_writeconsole


I have found this function.

It required me to set the "Handle to the console screen buffer",

While I realy interested to implement in autoit the simplest "Hello World!" program,

that is done by printf in ANSI C....

1. Is there a simpler way

2. if the answer to the 1'st question is no, then how can I get the value of the console screen buffer in which

my I run my autoit .exe ?

Share this post

Link to post
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
Sign in to follow this  

  • Create New...