Jump to content

Recommended Posts

Hello there,

Well, I compiled a script that rips animations frame by frame off a game. The only problem is the saving/naming of the frames.

I.e. it's like this atm:

frame 1 ripped

save as "1" > Send("1")

frame 2 ripped

save as "2" > Send("2")

so on

But this would mean if I wanted 80 frames, I'd have to copy and paste the whole script 80 times, changing the number every time. Is there a way to automate this?

I though of something like:

A box appears asking me of how many times I want to execute the script. The script then loops the specified amount of times, and the number typed/"Send"ed starts off with 1 and increases by 1 each time the script restarts.

Link to post
Share on other sites
  • Moderators

Your post is a bit confusing...

For $i = 1 to 80
    Send($i)
Next

Is that what your looking for?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites

No, it's right as it is.

I want the script so save the pictures with numbers as names, so I can make a gif out of them later.

If I input what you wrote the numbering does start with 1, but then it goes to 3, 5 s.o.

But it's alright, actually, just as long as I know which pic comes after which.

Thank you both for your fast answers!

Link to post
Share on other sites

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