Im currently trying to create an app for an art exhibition, it is a user interactive form using a stylus on iPad. Very simple but I just cant figure out how to have the screenshot of the user form with effects be saved as different file names. Current code I'm using only allows the one file to save due to a specified name and won't save a new image, but if someone can help add in a date and time variable to the snapshot I should be able to save all without overlap. And not sure if special folder path can link direct to iPad camera roll or how I would do that.
Also have been trying to have these images exported via email attachment but (no handler) error keeps popping up, so i've given up on that not unless someone knows why its not working.
Code: Select all
on MouseUp
--save contents of form to Documents folder
set the defaultFolder to specialFolderPath("Documents")
export snapshot from this cd to file "File1.jpg" as JPEG
export snapshot to pictVariable as JPEG
--clear form for next user
set the points of grc "draw" to empty
--to last stack
go to stack "thankyou"
end MouseUp
Best,
Sarah