Fur Posted February 11, 2005 Share Posted February 11, 2005 I've started using Scite to edit my scripts and ConsoleWrite() to do some debug prints. However, it keeps outputting everything on the same line in the output pane. Is there some way to make it do a carriage return/linefeed? I've tried ConsoleWrite($var & "\n") but that doesn't work. Link to comment Share on other sites More sharing options...
MHz Posted February 11, 2005 Share Posted February 11, 2005 Use a linefeed.ConsoleWrite($var & @LF) Link to comment Share on other sites More sharing options...
Developers Jos Posted February 11, 2005 Developers Share Posted February 11, 2005 I've started using Scite to edit my scripts and ConsoleWrite() to do some debug prints. However, it keeps outputting everything on the same line in the output pane. Is there some way to make it do a carriage return/linefeed? I've tried ConsoleWrite($var & "\n") but that doesn't work.<{POST_SNAPBACK}>In SciTE you could use Alt+D as well to generate the debug consolewrite() line. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
zeroZshadow Posted February 11, 2005 Share Posted February 11, 2005 what other programs can catch that console write??? is there a way to make a an autoit GUI do that?? *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip... Link to comment Share on other sites More sharing options...
tuape Posted February 11, 2005 Share Posted February 11, 2005 what other programs can catch that console write???is there a way to make a an autoit GUI do that??<{POST_SNAPBACK}>I think most advanced editors have that feature. At least UltraEdit does. But SciTE does it better: with UE you have to close the script file before output is written, in SciTE you can have 'real-time' output. Link to comment Share on other sites More sharing options...
zeroZshadow Posted February 14, 2005 Share Posted February 14, 2005 maby i can use the /c parameter!! can anybody tell me more about that?? i just picked it up from another topic *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip... Link to comment Share on other sites More sharing options...
Developers Jos Posted February 14, 2005 Developers Share Posted February 14, 2005 maby i can use the /c parameter!!can anybody tell me more about that?? i just picked it up from another topic<{POST_SNAPBACK}>what do you exactly want to do with the STDOUT information generated by ConsoleWrite() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
zeroZshadow Posted February 14, 2005 Share Posted February 14, 2005 well....duon't eally know. i just need a way to make my script run the command adn do the following things: 1. remember the output if there was a $array = .... 2. write the output in the "output" field. 3. return the output if a array is asked (used after 1. ) 4. maby more later *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip... 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