Knowing if the Standalone or plugin is used via Lua #752
-
|
I'm wondering if it is possible via Lua (panel property or something else) to know if the user is using the standalone or the plugin? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Hi Dominique, There's isStandaloneApp() in the JUCEApplicationBase class : https://docs.juce.com/master/classjuce_1_1JUCEApplicationBase.html#ad75e84c848382d012ecc7ba0c5192960 I use it often in Ctrlrx code in c++, It will return a bool. (true for standalone, false if plugin version). We would need to bind it to lua, I don't think it's available yet. |
Beta Was this translation helpful? Give feedback.
-
|
Ok I found an easier way : console : |
Beta Was this translation helpful? Give feedback.
if you need something more granular you can base your code upon this one :