Jump to content

Recommended Posts

Posted

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

Posted

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]

Posted

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.

:D

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
Posted

I invented method to overwrite line, now I wanna see what u think about it.

consoleWrite("1")

ConsoleWrite(Chr(8))

ConsoleWrite("2")

edited

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...