coptang Posted October 22, 2006 Share Posted October 22, 2006 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 More sharing options...
NELyon Posted October 22, 2006 Share Posted October 22, 2006 I don't think it's possible. Search for the member "Icekirby", he has some info about it in his signature, Link to comment Share on other sites More sharing options...
Uten Posted October 22, 2006 Share Posted October 22, 2006 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). Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
jvanegmond Posted October 22, 2006 Share Posted October 22, 2006 (edited) Search results Edited October 22, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
coptang Posted October 23, 2006 Author Share Posted October 23, 2006 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now