Jump to content

8 posts in this topic

Recommended Posts

Posted

Hey!

I have created a script for AutoTouch which performs a certain set of actions and then takes a screenshot at the end of each time it is used.

 

the line looks like this:

screenshot("images/name.png",nil)

 

The problem is that even if I set the script to repeat a few tomes, I end up with only 1 screenshot - it keeps overwriting the picture.

 

I'd love to keep all the pictures.

 

Do you know how to do it? :)

Posted

Can't you add a line where it stores the image in your image banks?

 

That way when the next screenshot is taken, it won't override your earlier picture.

Posted

Can't you add a line where it stores the image in your image banks?

 

That way when the next screenshot is taken, it won't override your earlier picture.

How do I do that?

It's my 1st day @ lua scripting

Posted

How do I do that?

It's my 1st day @ lua scripting

I only know a tiny bit of lua scripting :p

 

I'll study up so that I can help you out, but I think you should be able to add some lines of code where the image is stored in your phone.

Posted

I only know a tiny bit of lua scripting :p

 

I'll study up so that I can help you out, but I think you should be able to add some lines of code where the image is stored in your phone.

Thanks! AutoTouch created a function that does that, but as soon as the script repeats, it overwrites my screenshots :(

Posted

@@Goggwell I made a loop inside the script, so it keeps on renaming new screenshots. The problem with this script is that if I run it again, it starts back from 1.

 

Simple command asking me for input at the beginning of the script would do the job.

I have been trying to use i=io.read() but it doesn't seem to be working on iPad.

 

Perfect scenario would be recording the state of my loop in a separate file and then using it to continue the loop.

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

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines