Sign in to follow this  
Followers 0
yorams70

Function ConsoleWrite & DOS

3 posts in this topic

Hi.

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?

Thanks.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

search for AutoIt3Lib

and function _Api_writeconsole

Edited by arcker

-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]

Share this post


Link to post
Share on other sites

search for AutoIt3Lib

and function _Api_writeconsole

Thanks,

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  
Followers 0