E1M1 Posted September 11, 2009 Share Posted September 11, 2009 if i have #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Change2CUI=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ConsoleWrite("stuff generated") ConsoleWrite("1%") then How I can remove remove 1% and replace it with 2%? edited Link to comment Share on other sites More sharing options...
Skruge Posted September 11, 2009 Share Posted September 11, 2009 How I can remove remove 1% and replace it with 2%? There are several ways to interpret what you're asking for. Hopefully this example answers a couple of them...#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Change2CUI=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ConsoleWrite("stuff generated" & @CRLF) For $iX = 1 to 100 ConsoleWrite(@CR & $iX & "% ") Sleep(25) Next [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 11, 2009 Share Posted September 11, 2009 if i have #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Change2CUI=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ConsoleWrite("stuff generated") ConsoleWrite("1%") then How I can remove remove 1% and replace it with 2%? Don't bother with the DOS parameter variables, use the $CmdLine array. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
funkey Posted September 11, 2009 Share Posted September 11, 2009 I don't know what you want ConsoleWrite("stuff generated") ConsoleWrite("1%") Sleep(1000) ControlSend("", "", "Scintilla2", "{BS 2}") ConsoleWrite("2%") Exit Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
E1M1 Posted September 11, 2009 Author Share Posted September 11, 2009 I invented method to overwrite line, now I wanna see what u think about it. consoleWrite("1") ConsoleWrite(Chr(8)) ConsoleWrite("2") edited Link to comment Share on other sites More sharing options...
ResNullius Posted September 13, 2009 Share Posted September 13, 2009 I invented method to overwrite line, now I wanna see what u think about it.consoleWrite("1")ConsoleWrite(Chr(8))ConsoleWrite("2")You might also want to check out this thread http://www.autoitscript.com/forum/index.php?showtopic=66486Contains a variety of ways to overwrite and even decorate the ConsoleWrite() output from a CLI compiled script. 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