Jump to content

Recommended Posts

Posted

The following is the part of the script that is suppose to name the first file 1.txt the second file 2.txt and so on. The problem is I do not know how to use the SEND function such that the number I send increments. Can anyone help me solve this problem?

Do

SEND ('{ALTDOWN}')

SEND ('{f}{m}')

SEND ('{ALTUP}')

; Increment file name by 1 and save

SEND ('{1}')

SEND ('{ENTER}')

; Go to next file

SEND ('{DOWN}')

$i = $i + 1

Until $i = 2

Posted

Do
    SEND ('{ALTDOWN}')
    SEND ('{f}{m}')
    SEND ('{ALTUP}')
; Increment file name by 1 and save
    SEND ('{' & $i & '}')
    SEND ('{ENTER}')
; Go to next file
    SEND ('{DOWN}')
    $i = $i + 1
Until $i = 2

..........

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...