We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Dear friends, I have designed an image and save it in my sketch folder. I want to delete this image from the sketch folder after an event such as mouse pressed. Can anyone suggest me how to delete an image from sketch?
Answers
I googled "delete file site: processing.org" and found this as my top result: https://forum.processing.org/one/topic/noob-how-to-delete-a-file-in-the-data-folder.html
Yes, but it is not working... did you typed the code present in the link? I have checked it. Try it your self:
It is not working.
this saves in the sketch folder, not the data folder. you are deleting from the data folder...
also, without a draw your code will finish after setup so there won't be time to press a key...
Thanks...