Jump to content
Sign in to follow this  
403forbidden

Command Line Output?

Recommended Posts

403forbidden

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
Mobius

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
403forbidden

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.