FinalVersion Posted April 22, 2009 Share Posted April 22, 2009 How do you use this properly? The helpfile wasn't so open [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
FreeFry Posted April 22, 2009 Share Posted April 22, 2009 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. Link to comment Share on other sites More sharing options...
MrMitchell Posted April 22, 2009 Share Posted April 22, 2009 And if you compile as a CUI ConsoleWrite() will output to the command prompt window. Link to comment Share on other sites More sharing options...
FinalVersion Posted April 22, 2009 Author Share Posted April 22, 2009 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. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 22, 2009 Moderators Share Posted April 22, 2009 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 More sharing options...
MrMitchell Posted April 22, 2009 Share Posted April 22, 2009 What are you using to execute your scripts? Scite? Link to comment Share on other sites More sharing options...
DrKovra Posted April 22, 2009 Share Posted April 22, 2009 Try to read the "AutoIt Help" first ... btw, your answer is red-bolded !Function ReferenceConsoleWrite --------------------------------------------------------------------------------Writes data to a stream that text editors can sometimes read.ConsoleWrite ( "data" )Parametersdata: The data you wish to output. Return ValueNone.RemarksThe 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 More sharing options...
FinalVersion Posted April 22, 2009 Author Share Posted April 22, 2009 (edited) Edit, Problem Solved. Edited April 22, 2009 by Godly [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
DrKovra Posted April 22, 2009 Share Posted April 22, 2009 Edit, Problem Solved.OK.. LATE BUT .... Check this post on the FORUM ... ...THE FRENCH FRIES CUI GUY! [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 More sharing options...
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