wakillon Posted August 6, 2011 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.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
Zedna Posted August 6, 2011 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
Gui Posted August 6, 2011 Author 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)
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