Sign in to follow this  
Followers 0
403forbidden

Command Line Output?

3 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 Aut2Exe

or make a copy of your existing AutoIt3.exe and patch its subsystem to console, and use this console

version specifically for command shell based scripts.

There are quite a few other alternatives to the above, but I find it simpler.

Edited by Mobius

Share this post


Link to post
Share on other sites

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 Aut2Exe

or make a copy of your existing AutoIt3.exe and patch its subsystem to console, and use this console

version 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! :D

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