403forbidden Posted September 26, 2009 Posted September 26, 2009 How can I output information to a command line? I know about $CmdLine for parameters, but how do I output information to the command line?
Mobius Posted September 26, 2009 Posted September 26, 2009 (edited) You can output data to the command shell with the ConsoleWrite() function,However in order for this to work you will either have to make your script into a cui exe with Aut2Exeor make a copy of your existing AutoIt3.exe and patch its subsystem to console, and use this consoleversion specifically for command shell based scripts.There are quite a few other alternatives to the above, but I find it simpler. Edited September 26, 2009 by Mobius
403forbidden Posted September 26, 2009 Author Posted September 26, 2009 You can output data to the command shell with the ConsoleWrite() function,However in order for this to work you will either have to make your script into a cui exe with Aut2Exeor make a copy of your existing AutoIt3.exe and patch its subsystem to console, and use this consoleversion specifically for command shell based scripts.There are quite a few other alternatives to the above, but I find it simpler.Thank you, that is just what I was looking for!
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