# Save jpg with path does not work?

**URL:** <https://forums.creativeclouddeveloper.com/t/save-jpg-with-path-does-not-work/6263>\
**Category:** Photoshop\
**Created:** [May 4, 2023, 10:41am UTC](https://forums.creativeclouddeveloper.com/t/save-jpg-with-path-does-not-work/6263 "2023-05-04T10:41:17Z")\
**Posts on this page:** 1\
**Showing post:** 40

<div class="post-metadata">

**Author:** ![dotproduct](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@dotproduct](https://forums.creativeclouddeveloper.com/u/dotproduct)\
**Post date:** [January 29, 2024, 5:24pm UTC](https://forums.creativeclouddeveloper.com/t/save-jpg-with-path-does-not-work/6263/40 "2024-01-29T17:24:47Z")

</div>

A friendly advice to save yourself trouble next time is to read the [docs](https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/document/) carefully. TIFF is not mentioned with a single word.

Also this thread has been marked as resolved a long time ago. If you have unrelated follow-up questions I’d suggest starting a new thread. For your particular question, there are tons of posts if you search on the forum, e.g. [this one](http://forums.creativeclouddeveloper.com/t/how-to-circumvent-getfolder-for-doc-saveas-jpg/7417/6) where I explained the differences between entries and tokens. `getEntryWithURL` will give you an entry, turn that into a token and pass it to batchPlay.

As a last piece of friendly advice. Start using try/catch and look at your error messages. This would have told you right away that you were calling a non-existent function with “`app.activeDocument.saveAs.tif`” 😉

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/save-jpg-with-path-does-not-work/6263)._
