# Exported Application Issues

**URL:** <https://discourse.processing.org/t/exported-application-issues/42209>\
**Category:** Coding Questions\
**Created:** [June 13, 2023, 6:24pm UTC](https://discourse.processing.org/t/exported-application-issues/42209 "2023-06-13T18:24:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Craig](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@Craig](https://discourse.processing.org/u/Craig)\
**Post date:** [June 13, 2023, 6:24pm UTC](https://discourse.processing.org/t/exported-application-issues/42209/1 "2023-06-13T18:24:33Z")

</div>

I have written a reasonably large Processing program that acts kind of like a Photo Booth with around 50 real-time effect that save out as an image file. It works well in the Processing environment and almost well as a stand alone, but the save command doesn’t save the files in the stand alone environment. I can’t tell if this is a path problem or a permissions problem. I am using AppleScript folder scripts to print and email the pictures so I need this to work. Any ideas would be appreciated. I’ll upload a picture from the device so you can see what I’m up to.

Craig

 ![Picture 5921](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/9/4/945f716ae976c228697e03454145970600d7a625.jpeg)

---

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [June 14, 2023, 11:42am UTC](https://discourse.processing.org/t/exported-application-issues/42209/2 "2023-06-14T11:42:46Z")

</div>

Hi @Craig,

> [@Craig](#):
>
> but the save command doesn’t save the files in the stand alone environment.

Guess you need to show us your save command call, resp. the save procedure to get answers. 🙂

Cheers  
— mnse

---

<div class="post-metadata">

**Author:** ![Craig](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@Craig](https://discourse.processing.org/u/Craig)\
**Post date:** [June 14, 2023, 3:47pm UTC](https://discourse.processing.org/t/exported-application-issues/42209/3 "2023-06-14T15:47:35Z")

</div>

Sure, here it is.

pg.save(“Saved Pictures/” + pictureName + “.tif”);

In the Processing environment it saves it to a folder called “Saved Pictures” in the sketch’s folder. I see that the stand alone doesn’t seem to have recreated that folder so I’m wondering where it should go. Or perhaps I should use an absolute path name. Also, will the Mac refuse to save to that file anyway because I haven’t given that application permission. Thanks. Possibly I am asking the Processing stand alone to do more than it can.

---

<div class="post-metadata">

**Author:** ![Joseph](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Joseph](https://discourse.processing.org/u/Joseph)\
**Post date:** [June 14, 2023, 5:47pm UTC](https://discourse.processing.org/t/exported-application-issues/42209/4 "2023-06-14T17:47:26Z")

</div>

I use absolute paths as they are much easier to troubleshoot. Do keep in mind that the file path is relative to where it is launched so as a stand alone I think it’s relative to the java source file. So I would check in the the java folder and see if there is the saved files

---

<div class="post-metadata">

**Author:** ![Craig](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@Craig](https://discourse.processing.org/u/Craig)\
**Post date:** [June 14, 2023, 5:50pm UTC](https://discourse.processing.org/t/exported-application-issues/42209/5 "2023-06-14T17:50:12Z")

</div>

Thanks, Joseph. I’ll give it a try.

Craig

---

<div class="post-metadata">

**Author:** ![philipplehmann](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/philipplehmann/32/4111_2.png) [@philipplehmann](https://discourse.processing.org/u/philipplehmann)\
**Post date:** [August 9, 2023, 2:26pm UTC](https://discourse.processing.org/t/exported-application-issues/42209/6 "2023-08-09T14:26:27Z")

</div>

In a recent project, which was also exported as a standalone app, I used [saveFrame() / Reference / Processing.org](https://processing.org/reference/saveFrame_.html) instead of save().  
Even though i only exported one frame at a time. Maybe I had a similar issue. 🤷
