Jump to content

Recommended Posts

Posted

For $m = 000 To 005 
For $n = 500 To 505
    Send (StringFormat("%03u", $m))
    Send ("{Tab}")
    Send (StringFormat("%03u", $n))
    Sleep ( 250 )
    Send ( "{Enter}")
Next
Next

I want it to write 000, press TAB and write 500, then 001, TAB, 501 and so on...

Thanks :)

Posted (edited)

Not like this =X

I want it like

000

{Tab}

500

{Enter}

001

{Tab}

501

{Enter}

002

{Tab}

502

{Enter}

Until 500 will be 999 and 000 will be 500...

Thanks.

Edit: YESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS!$@%#%$#$%#$%

THANKS :)

Edited by Info
Posted (edited)

my above code does that, just modify the 000 part...

Like, if $i > 10 then $b = ""

if $i > 100 then $a=""

Example:

while 1
$a="0"
$b="0"
$i="0"
$o="500"

do 
send ($a&$b&$i)
$i=$i+1
if $i >= 10 then $b=""
if $i >= 100 then $a=""
send ("{tab}")

send ($o)
$o=$o+1

Send ( "{Enter}")
until $i ="1000" or $o = "1500" ;needs to be one number greater then the value you want to end with
exit
WEnd
Edited by BackStabbed

tolle indicium

Posted

One last thing,

how can I make it to write 0500, 0501, 0502, 0503, 0504, 0505 instead of 500, 501, 502, 503, 504, 505?

Thanks...

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...