Jump to content

Recommended Posts

Posted

Hi Folks,

I'm calling my AutoIT script from the Command Prompt Window cmd.exe. I would like for my log info and error messages to be printed to this window. Is this possible using AutoIt. I've had a look through the message board, but I haven't been able to find any pointers.

Many thanks,

Cormac

Posted (edited)

Welcome to AutoIt.

You can get the ConsoleWrite() output to the command prompt by just piping with "|more" at the end of the execution command to start the AutoIt script. Another way to to make a CUI application by simply using Editbin.exe to set the flag within the executable as mentioned below and any ConsoleWrite() output appears in the command prompt like any other CUI applaction.

http://www.autoitscript.com/forum/index.php?showtopic=47809

:)

Edited by MHz

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
×
×
  • Create New...