Add "insert plugin" key command

What’s the point? When you already have a plugin loaded in insert 1 and press alt+1 you just have to search for a plugin and press enter, this will automatically replace the older plugin. If the window “do you want to save the older plugin” bothers you it can be disabled in Preferences.

Yes it’s possible. I’m not sure that I got your wish quite accurately, but if you want just always replace one plug-ing by another it’s easy:

;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Select an Insert <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

!1::                                  ; Alt+1 hotkey.
Y:=114
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!2::                                  ; Alt+2 hotkey.
Y:=114+42
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!3::                                  ; Alt+3 hotkey.
Y:=114+42*2
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!4::                                  ; Alt+4 hotkey.
Y:=114+42*3
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!5::                                  ; Alt+5 hotkey.
Y:=114+42*4
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!6::                                  ; Alt+6 hotkey.
Y:=114+42*5
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!7::                                  ; Alt+7 hotkey.
Y:=114+42*6
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!8::                                  ; Alt+8 hotkey.
Y:=114+42*7
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

SelIns:
IfWinExist, Channel Settings					
  WinActivate								
else					
{
 SendEvent e				
 WinWaitActive, Channel Settings	
}

				
 MouseMove 187,Y						; Selecting Insert
  Sleep 50
  Click			
Return					
IfWinExist		
	
;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<  End  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

And here is a script which checks the Inserts/Strip Tab State and if you worked with Strip it switches to Insert Tab automatically.

;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Select an Insert <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

!1::                                  ; Alt+1 hotkey.
K=120
Y:=K                                 ; (114)
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!2::                                  ; Alt+2 hotkey.
Y:=K+42
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!3::                                  ; Alt+3 hotkey.
Y:=K+42*2
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!4::                                  ; Alt+4 hotkey.
Y:=K+42*3
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!5::                                  ; Alt+5 hotkey.
Y:=K+42*4
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!6::                                  ; Alt+6 hotkey.
Y:=K+42*5
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!7::                                  ; Alt+7 hotkey.
Y:=K+42*6
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!8::                                  ; Alt+8 hotkey.
Y:=K+42*7
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

SelIns:
IfWinExist, Channel Settings					
  WinActivate								
else					
{
 SendEvent e				
 WinWaitActive, Channel Settings	
}

PixelGetColor, InsColor, 84,86, [RGB]				;Check the Tab Inserts/Strip
  If InsColor <> 0x2F3840					;if Strip is active
   {
   Click 84,86						;Open Inserts
   Sleep 100
   }					
 MouseMove 123,Y						;Select an Insert , (x=187)
  Sleep 50
  ;MouseMove 194,Y
  ;Sleep 100
  Click			
Return					
IfWinExist

Regards.

Exactly what I was after, Thank you!
That script coupled with my Eucon Soft Keys makes for an incredibly quick and powerful system (using Pro Tools Control on an Ipad).

Because of the extra inserts in Cubase 9.5, the orientation is not working properly. insert 1 works, 2 opens 3, 3 opens 5, 4 opens 7 and the rest do nothing. Any chance of a mod? (i would but I’m pretty lost with this).
Thanks in advance!

ok. I will.

Thanks!

Hi everybody.
So here is script for C 9.5.

;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Select an Insert <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

!1::                                  ; Alt+1 hotkey.
Y:=114                                 ; (114)
Sleep 10
SendEvent {Alt up}
GoSub, SelIns
return

!2::                                  ; Alt+2 hotkey.
Y:=114+22.06
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!3::                                  ; Alt+3 hotkey.
Y:=114+22.06*2
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!4::                                  ; Alt+4 hotkey.
Y:=114+22.06*3
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!5::                                  ; Alt+5 hotkey.
Y:=114+22.06*4
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!6::                                  ; Alt+6 hotkey.
Y:=114+22.06*5
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!7::                                  ; Alt+7 hotkey.
Y:=114+22.06*6
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!8::                                  ; Alt+8 hotkey.
Y:=114+22.06*7
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!9::                                  ; Alt+9 hotkey.
Y:=114+22.06*8
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

!0::                                  ; Alt+0 hotkey.
Y:=114+22.06*9
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return

SelIns:
IfWinExist, Channel Settings					
  WinActivate								
else					
{
 SendEvent e				
 WinWaitActive, Channel Settings	
}

PixelGetColor, InsColor, 84,86, [RGB]				;Check the Tab Inserts/Strip
  If InsColor <> 0x2F3840					;if Strip is active
   {
   Click 84,86						;Open Inserts
   Sleep 100
   }					
 MouseMove 187,Y						;Select an Insert , (x=187)
  Sleep 50
  ;MouseMove 194,Y
  ;Sleep 100
  Click			
Return					
#IfWinExist		
	
;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<  End  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

I stopped at the Insert #10 (Alt+0) so far. If you have any suggestions for the Key commands to be set for the rest of them we can have them all.

Greetings.

Again, many thanks!

What do you use for midi tracks? If you click “e” it will not open the instrument Channel Settings window.

MIDI tracks you mean with Rack instruments? I don’t use them. I use Instrument Tracks.

Autohotkey is DEFO next on my list…once that’s up a runnin, I might not buy anymore updates for a very, very long time really.

A simpler/lighter version may be :

  • You just hover over the insert slot with your mouse.
  • With an hotkey, AHK clicks and types name of the plugin, presses enter. There you go.

I actually did “if slot is empty then insert plugin there”.

I need that exactly. do you have the script or anyone? My goal is to assign different keys to insert my favorite plugins for example pro-q 3, or any plugin, in the insert where the mouse is placed. For example Ctrl 1= pro-q 3, Ctrl 2 = compressor, and so on… I understand that I will have to write the names of the plugins that I want to be inserted in the script.

Thanks for the updated code!

Can someone explain this script a little, I don’t understand how it works without mouse clicks. I’ve read the manual a bit but still a little confused.

What’s the line that actually opens the plug-ins slots and replaces the mouse click and why is positioning not an issue as the “Channel Setting” window moves around?

What does GoSub do?

I’d love to be able to create more scripts that replaces mouse clicks but I don’t understand how this works in this one.

Thanks,

Hi, I really need your help. I taught my friend who is blind to produce using shortcuts (Key Commands) on Cubase and he can arrange and even Eq and balance the mix using volume and panning. Two years later after he became quite successful he is back to learn more. This is because he had to send his projects to other producers for mixing and mastering and most of them take forever to mix his clients’ projects and this isn’t convenient for him. We were unable to add plugins until we found your AutoHotKey Script. However, I also want to be able to have a shortcut that helps him go directly into the routing where he may route an audio track into a group so he can mix easily using groups. Also if it were possible to create another script for us that enables him to select a preset after adding an external plugin like Rverb we would be so grateful. I don’t know how much you would charge us for this but kindly let us know. We are located in Nairobi , Kenya. Thanks