I just want to first thank everyone who has helped me in my journey in completing my code, it works well now and I am so grateful for all the help I have received from the community and I really appreciate the time and the help you all have given me!
With that being said, I do have one issue, which is that my old ROIs are still being overwritten every time I save a new ROI.
roiManager(“save selected”, roiSave + “.zip”);
^^ this is the only line of code that deals with saving the ROI. “roiSave” is the source directory of where the ROIs will be saved (the folder where they are saving), but for some reason, rather than saving my ROIs like this:
It is instead either overwriting the previous ROI, or it is only saving the very last ROI drawn. I would really appreciate any help!