Gui Posted August 6, 2011 Share Posted August 6, 2011 (edited) SOLVED. Edited August 6, 2011 by Gui Link to comment Share on other sites More sharing options...
wakillon Posted August 6, 2011 Share Posted August 6, 2011 So I have this Console Application, but it's unable to be appended with text, or be read. Any ideas? Reading [sOLVED] Inserting Text [uN SOLVED] Which console application ? AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Zedna Posted August 6, 2011 Share Posted August 6, 2011 (edited) If you add @CR at begin of your text then it writes at the same line (adding mode). Example for demo CUI progressbar using this technique: #AutoIt3Wrapper_Change2CUI=y #include <string.au3> For $i = 1 to 79 $part1 = _StringRepeat(Chr(219), $i) $part2 = _StringRepeat(Chr(177), 79 - $i) ConsoleWrite(@CR & $part1 & $part2) Sleep(50) Next ; uncomment this if you want to preserve finished progressbar ;~ ConsoleWrite(@CRLF & "DONE!") ; comment this if you want to preserve finished progressbar ConsoleWrite(@CR & _StringRepeat(' ', 79)) ConsoleWrite(@CR & "DONE!") Edited August 6, 2011 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Gui Posted August 6, 2011 Author Share Posted August 6, 2011 @Zedna, I don't mean ConsoleWriting with the function, I mean actually interacting with the Console, literally adding text, or typing into it. With this you'd be able to prompt, etc. @Walkillin, a CUI (Console Application created with AutoIt) 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