# Get application path; define if plugin is opened in Premiere Pro beta or not

**URL:** <https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312>\
**Category:** Premiere Pro\
**Created:** [August 14, 2025, 11:51am UTC](https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312 "2025-08-14T11:51:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sir\_Ivan](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/sir_ivan/32/4379_2.png) [@Sir\_Ivan](https://forums.creativeclouddeveloper.com/u/Sir_Ivan)\
**Post date:** [August 14, 2025, 11:51am UTC](https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312/1 "2025-08-14T11:51:55Z")

</div>

In CEP I’m able to get path information of Premiere Pro app with `app.path`.  
Then I can read some app data, which is located in application folder.

In UXP, I don’t see any `app.path` equivalent, so I construct path manually, but there 2 possible issues:

- I use `require('uxp').host` to get app version, and construct path from there, but I don’t know if it is Beta or not  
this is not a conflict case at the moment, since UXP for Premiere is only available in Beta, but it will be in the future, after it will become accessible in regular version

- If user will install application in custom location, all manual construction will be futile

I would like to be able to get application path. Or at least know if it is beta version or not.

This is also the case for #Photoshop and #InDesign.

---

<div class="post-metadata">

**Author:** ![bbb\_999](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/bbb_999/32/4247_2.png) [@bbb\_999](https://forums.creativeclouddeveloper.com/u/bbb_999)\
**Post date:** [August 14, 2025, 3:31pm UTC](https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312/2 "2025-08-14T15:31:01Z")

</div>

Your request makes sense, and…

How would your UXP plugin behave differently, in beta vs release builds?

---

<div class="post-metadata">

**Author:** ![Sir\_Ivan](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/sir_ivan/32/4379_2.png) [@Sir\_Ivan](https://forums.creativeclouddeveloper.com/u/Sir_Ivan)\
**Post date:** [August 14, 2025, 4:03pm UTC](https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312/4 "2025-08-14T16:03:40Z")

</div>

Hi Bruce!

I’m adapting my extension [Spell Book](https://www.youtube.com/watch?v=EJwyN76AljI) to UXP, which allows to trigger extensions’ commands on shortcuts press.

Spell Book monitors active app and if active app matches Adobe host app from which Spell Book was launched, it will listen for shortcuts pressed by user (so there is no listener when host app is not active).  
To make it work I need host app path. For now I create path manually.  
e.g. these two are different `Adobe Premiere Pro 2025.app vs Adobe Premiere Pro (Beta).app`  
Of course I can match loosely, and just search for `Adobe Premiere Pro` in the name of app, but I prefer to be strict here.

Also Spell Book accounts for shortcuts already used by host app.  
For that I’m getting path to current active shortcut profile, read it and don’t allow users to set shortcuts already used by host app.  
In case of Premiere Pro, keyboard shortcuts are stored in 2 different directories in Documents folder, depending if it is beta or not.

Overall I got Spell Book working already in UXP, but I would like to be sure about edge cases, which will happen eventually.

---

<div class="post-metadata">

**Author:** ![bbb\_999](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/bbb_999/32/4247_2.png) [@bbb\_999](https://forums.creativeclouddeveloper.com/u/bbb_999)\
**Post date:** [August 28, 2025, 7:36pm UTC](https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312/5 "2025-08-28T19:36:37Z")

</div>

Makes sense, thanks!

---

<div class="post-metadata">

**Author:** ![Nico\_Autokroma](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/nico_autokroma/32/4826_2.png) [@Nico\_Autokroma](https://forums.creativeclouddeveloper.com/u/Nico_Autokroma)\
**Post date:** [December 3, 2025, 11:02pm UTC](https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312/6 "2025-12-03T23:02:47Z")

</div>

Hi there !

I’m (at least) coming into the UXP game !

I found a way (If I well understood your concern), with  
`window.path.resolve(‘./’)`

Which returns in my Windows :

`C:\Program Files\Adobe\Adobe Premiere Pro 2025`

Best,

Nicolas from Autokroma

---

<div class="post-metadata">

**Author:** ![Sir\_Ivan](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/sir_ivan/32/4379_2.png) [@Sir\_Ivan](https://forums.creativeclouddeveloper.com/u/Sir_Ivan)\
**Post date:** [December 4, 2025, 10:19am UTC](https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312/7 "2025-12-04T10:19:05Z")

</div>

Oh, interesting! Thank you for sharing.

However, I don’t think it works for me on macOS.

---

<div class="post-metadata">

**Author:** ![justin2taylor](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/justin2taylor/32/2031_2.png) [@justin2taylor](https://forums.creativeclouddeveloper.com/u/justin2taylor)\
**Post date:** [December 4, 2025, 4:28pm UTC](https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312/8 "2025-12-04T16:28:48Z")

</div>

We also need this info to separate beta from non-beta builds.

---

<div class="post-metadata">

**Author:** ![bbb\_999](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/bbb_999/32/4247_2.png) [@bbb\_999](https://forums.creativeclouddeveloper.com/u/bbb_999)\
**Post date:** [December 12, 2025, 4:53pm UTC](https://forums.creativeclouddeveloper.com/t/get-application-path-define-if-plugin-is-opened-in-premiere-pro-beta-or-not/11312/9 "2025-12-12T16:53:27Z")

</div>

We’re tracking this request as DVATA-566, and will keep the forums informed of our progress.
