Jump to content

How to write to stdout


coptang
 Share

Recommended Posts

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

Link to comment
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).

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...