Alan Posted April 19, 2005 Posted April 19, 2005 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
zcoacoaz Posted April 19, 2005 Posted April 19, 2005 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]
Alan Posted April 20, 2005 Author Posted April 20, 2005 Xenogis Thanks for the help with the code. It works perfectly.
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