How can i make a counting variable? So that I can append this variable to the filenames for my saved images? Also, can I specify the directory where they are saved (from My Documents to another folder)?
You can use TextField or Text widget to hold variable.
Use the following action to increase it:
To change directory use relative path “…/” For example filename="…/…/…/screen" will save image c:\screen.png
In this example images are saved in Music folder (C:\Users\USERNAME\Music)
"../Music/screen_" + document.childByName("counter").content.text
See the example save_image_counter.pma (495.5 KB)
Thanks, Michael. I’ll try this.