Jump to content

ConsoleWrite?


Recommended Posts

ConsoleWrite("This will be on the first line" & @LF & "This will be on the second line" & @LF)

the last @LF is so that the next entry on the console will be on a new line

Quite simple. ^_^

I know how to use it, it just doesn't work.

And if you compile as a CUI ConsoleWrite() will output to the command prompt window.

Trying this ty.
Link to comment
Share on other sites

  • Moderators

I know how to use it, it just doesn't work.

Trying this ty.

ConsoleWrite is used in SciTe editor, to print to the pane below the code. If you're not using SciTe, this is probably why it's not working.

It can also be used in process info retrieval from the stream of one application to another and as MrMitchel has stated, can write to the cmd console if compiled in CUI mode.

Typically I use ConsoleWrite for quit output or debug code in SciTe.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Try to read the "AutoIt Help" first ... btw, your answer is red-bolded !

Function Reference

ConsoleWrite

--------------------------------------------------------------------------------

Writes data to a stream that text editors can sometimes read.

ConsoleWrite ( "data" )

Parameters

data: The data you wish to output.

Return Value

None.

Remarks

The purpose for this function is to write to a console which many popular text editors can read.

This does not write to a DOS console.

...

[s][font="Impact"]░▒▓▓►DrKovra◄▓▓▒░[/font][/s]The only thing I [sup]know [/sup]is that I don't know [sub]nothing[/sub]--------------- __________------------------------------ __________---------------

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...