# StandAlone Plugins

**URL:** <https://forum.juce.com/t/standalone-plugins/31489>\
**Category:** Audio Plugins\
**Created:** [January 27, 2019, 5:26pm UTC](https://forum.juce.com/t/standalone-plugins/31489 "2019-01-27T17:26:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WilliamkWusik](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/williamkwusik/32/3821_2.png) [@WilliamkWusik](https://forum.juce.com/u/WilliamkWusik)\
**Post date:** [January 27, 2019, 5:26pm UTC](https://forum.juce.com/t/standalone-plugins/31489/1 "2019-01-27T17:26:24Z")

</div>

Guys, I just found out the new StandAlone plugin option and I’m using it. BUT, I would like to be able to customize a few things like I have done before. Previous projects I was building an application instead, so I had more control over what I wanted to show. So here are my questions:

1. how can I remove the Options button from the top bar? Or even access that object directly. I was able to change the icons on the right, that worked great.

2. I want to be able to open the audio-settings-window from inside my plugin’s options button. Before I was creating all objects, including the top-window, so I had access to all that. Now I don’t know how to do that.

3. I had some code that I wanted to run only in the standalone version, is that possible? before I was compiling in two projucer files, so I could do that. But would be nice to keep one project file instead.

Thanks again.

Cheers, WilliamK

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [January 27, 2019, 6:27pm UTC](https://forum.juce.com/t/standalone-plugins/31489/2 "2019-01-27T18:27:21Z")

</div>

Hi WilliamK,

> [@WilliamkWusik](#):
>
> 1. how can I remove the Options button from the top bar? Or even access that object directly. I was able to change the icons on the right, that worked great.

Yes, there is a workflow, Fabian explained this thread:

> [@Styling the Standalone plugin window?](https://forum.juce.com/t/styling-the-standalone-plugin-window/21872/13):
>
> Ahh thanks for pointing that out. In fact, we broke the functionality of JUCE\_USE\_CUSTOM\_AU3\_STANDALONE\_APP with JUCE 5. I’ve now fixed this on develop and also renamed the macro to JUCE\_USE\_CUSTOM\_PLUGIN\_STANDALONE\_APP. Simply define this to 1 in your AppConfig.h (or add it as a custom compiler pre-processor definition) and then use the START\_JUCE\_APPLICATION macro as you would in a normal standalone app.

> [@WilliamkWusik](#):
>
> 1. I want to be able to open the audio-settings-window from inside my plugin’s options button. Before I was creating all objects, including the top-window, so I had access to all that. Now I don’t know how to do that.

The AudioDeviceManager and AudioDeviceSelectorComponent are very problematic inside your processor and processor editor classes. The StandalonePluginHolder has already an AudioDeviceManager, and having a second one in one process creates problems. And in a plugin, you shouldn’t access the AudioIODevices at all, only through the host.

> [@WilliamkWusik](#):
>
> 1. I had some code that I wanted to run only in the standalone version, is that possible?

Yes, there is a static function you can call: [JuceApplicationBase::isStandaloneApp()](https://docs.juce.com/master/classJUCEApplicationBase.html#ab37b7899d09c4bd2b6f38a3ae13dcb33).

Hope that helps

---

<div class="post-metadata">

**Author:** ![WilliamkWusik](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/williamkwusik/32/3821_2.png) [@WilliamkWusik](https://forum.juce.com/u/WilliamkWusik)\
**Post date:** [January 28, 2019, 12:39pm UTC](https://forum.juce.com/t/standalone-plugins/31489/3 "2019-01-28T12:39:13Z")

</div>

Super! Thank you so much! 🙂
