# Open an other Plugin via script?

**URL:** <https://forums.creativeclouddeveloper.com/t/open-an-other-plugin-via-script/5163>\
**Category:** UXP Plugin API\
**Created:** [September 2, 2022, 1:25pm UTC](https://forums.creativeclouddeveloper.com/t/open-an-other-plugin-via-script/5163 "2022-09-02T13:25:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rick](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/rick/32/1201_2.png) [@Rick](https://forums.creativeclouddeveloper.com/u/Rick)\
**Post date:** [September 2, 2022, 1:25pm UTC](https://forums.creativeclouddeveloper.com/t/open-an-other-plugin-via-script/5163/1 "2022-09-02T13:25:47Z")

</div>

Hey,  
is it possible that I can open a plugin via a script?  
Example: I have two plugins.  
Plugin A & Plugin B.  
I would like to be able to open and close plugin B via a button in plugin A.  
Is this possible?

Thanks to you for a short info 🙂  
Best regards from Germany.

---

<div class="post-metadata">

**Author:** ![Karmalakas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/karmalakas/32/1048_2.png) [@Karmalakas](https://forums.creativeclouddeveloper.com/u/Karmalakas)\
**Post date:** [September 2, 2022, 1:27pm UTC](https://forums.creativeclouddeveloper.com/t/open-an-other-plugin-via-script/5163/2 "2022-09-02T13:27:59Z")

</div>

AFAIK the only way is if you know that other plugin name in menu. Find its command ID (should be negative) and then execute menu command.

---

<div class="post-metadata">

**Author:** ![Rick](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/rick/32/1201_2.png) [@Rick](https://forums.creativeclouddeveloper.com/u/Rick)\
**Post date:** [September 2, 2022, 2:00pm UTC](https://forums.creativeclouddeveloper.com/t/open-an-other-plugin-via-script/5163/3 "2022-09-02T14:00:08Z")

</div>

Oh yes, thank you very much, that was the right idea.  
Works right away :)!

---

<div class="post-metadata">

**Author:** ![sttk3](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sttk3](https://forums.creativeclouddeveloper.com/u/sttk3)\
**Post date:** [September 2, 2022, 11:14pm UTC](https://forums.creativeclouddeveloper.com/t/open-an-other-plugin-via-script/5163/4 "2022-09-02T23:14:32Z")

</div>

Communication between plugins seems to be configurable in manifest v5.  
[https://developer.adobe.com/photoshop/uxp/2022/guides/uxp\_guide/uxp-misc/manifest-v5/#plugin-communication](https://developer.adobe.com/photoshop/uxp/2022/guides/uxp_guide/uxp-misc/manifest-v5/#plugin-communication)
