Open Plugin on launch

Is there a way to have a plugin stay open when a file is closed and then reopend?

For example, I’d like EZDrummer to always be open.
I’d like the Durroughs meter to always be open.

Currently I have to go into edit mode and double click on a plugin to display it.

My rackspace is so complex that when I go into edit mode, I risk accidentally messing something up (I sure wish there was an undo command in edit mode too.)

With scripting you can use a widget to open a plugin.

Or Initialization to make it come up automatically when you start

1 Like

Or when a Rackspace is activated.
Here is the code:

var Blue3 : PluginBlock

on Activate
 OpenPlugin(Blue3)
end 

And here is the rackspace (you can import it into your gig)
Open_On_Activate.rackspace (5.5 KB)

Thanks! I’ll give that a try later on today. Need some fresh air!

OK so here’s where I have to admit I’m clueless.

I did previously setup a script for bypassing inactive plugins, so I did learn how to script once, and have a Live script. I don’t know how to add this one however. I added handles to the two plugins but they do not show up in the Var list. How do I do that?

Do I then make a new script, or add this code to my Live script?

Please upload your gig and describe what you want to achieve.

I tried, but as a new user I can’t.

Here’s the script as I have it now, it says it’s missing an end.

//$
// DO NOT EDIT THIS SECTION MANUALLY
Var
APiano : PluginBlock
EPiano : PluginBlock
ABass : PluginBlock
EBass : PluginBlock
Omni : PluginBlock
MainMixer : PluginBlock
Drums : PluginBlock
Dorrough : PluginBlock
//$

// Called when a plugin block parameter value has changed
On ParameterValueChanged(parameterNumber : integer, parameterValue : double) from MainMixer
if parameterNumber == 21
then SetPluginBypassed (APiano, parameterValue < 0.1)
end

if parameterNumber == 28
    then SetPluginBypassed (EPiano, parameterValue < 0.1)

end

if parameterNumber == 0
    then SetPluginBypassed (ABass, parameterValue < 0.1)
end
    if parameterNumber == 7
    then SetPluginBypassed (EBass, parameterValue < 0.1)
end




   if parameterNumber == 42
    then SetPluginBypassed (Drums, parameterValue < 0.1)

end

var Dorrough : PluginBlock

on Activate
OpenPlugin(Dorrough)
end

End

I did edit the Var sectional manually to add the Dorrough.

As I understand your code you bypass plugins when the mixer channel volume it its connected to is very low.
Does this work?

What is the issue with the on Activate Event?

So I want to activate the Dorrough plugin on launch. Have it open so I can see the meters.
I will also want to do this with another plugin once I learn how.
The script to bypass plugins works fine, it’s just the Dorrough var that doesn’t work.

When I click compile i get this error.

Syntax Error: Line 38, Col 1: Unexpected or unrecognized token: ‘var’
Missing End at ‘var’

I think you should delete the last line.

No it won’t compile due to the error message.

As I said I added the Dorrough manually in the Do Not edit this section manually.
I assume this is the problem but don’t know how to add the var

What should I delete?

I am analyzing and post there correct script, gimme some minutes :wink:

1 Like

Thanks Paul!

Here it is:

//$
// DO NOT EDIT THIS SECTION MANUALLY
Var
APiano : PluginBlock
EPiano : PluginBlock
ABass : PluginBlock
EBass : PluginBlock
Omni : PluginBlock
MainMixer : PluginBlock
Drums : PluginBlock
Dorrough : PluginBlock
//$

// Called when a plugin block parameter value has changed
On ParameterValueChanged(parameterNumber : integer, parameterValue : double) from MainMixer
 if parameterNumber == 21 then 
    SetPluginBypassed (APiano, parameterValue < 0.1)
 end

 if parameterNumber == 28 then 
    SetPluginBypassed (EPiano, parameterValue < 0.1)
 end

 if parameterNumber == 0 then 
    SetPluginBypassed (ABass, parameterValue < 0.1)
 end
 
 if parameterNumber == 7 then 
    SetPluginBypassed (EBass, parameterValue < 0.1)
 end

 if parameterNumber == 42 then 
    SetPluginBypassed (Drums, parameterValue < 0.1)
 end
end

on Activate
 OpenPlugin(Dorrough)
end

Awesome, that worked!
So to add the drums to this, same thing, open them on activate, what do I do? I tried just adding another onActivate line, but it didn’t work.

I CAN’T REPLY ANYMORE TODAY AS A NEW USER, BUT PROBLEM SOLVED.

Thank you.

Here you go:

on Activate
 OpenPlugin(Dorrough)
 OpenPlugin(Drums) 
end