Sign in to follow this  
Followers 0
coptang

How to write to stdout

5 posts in this topic

I'm completely new to AutoIt, sorry if this is asked often but I have read through the functions list and tried ConsoleWrite and ConsoleWriteError.

I want my exe to behave like a dos app and if called with no args to just respond with some help text or something. ConsoleWrite doesn't seem to do anything. I also tried running "command.com /c echo text" but that opens a new dos window if called originally from a dos window.

At the moment I'm using msgboxes to display failure messages but as the app is likely to be called from a batch script daily on a server I don't want lots of failure messages to pop up on the server for any reason.

I'm sure this must be really simple to do but I'm stuck for where to look.

Thanks

Share this post


Link to post
Share on other sites



I don't think it's possible. Search for the member "Icekirby", he has some info about it in his signature,

Share this post


Link to post
Share on other sites

I'm not shure what your realy want (and how you did your test) as AutoIt is a self declared windows window acting language. Anyhow search for stub.exe by @Valik and mx63.dll ( I think it's called).

Share this post


Link to post
Share on other sites

Thanks people, I think I'll just give it a GUI help screen if called with no args + maybe add e-mail on success / failure functionality as well to report roblems.

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