Action Reference - FunkybotsEvilTwin/CSIWiki GitHub Wiki

CSI Actions

Transport and Timeline

Tracks

Track Sends

Track Receives

FX

Navigation

Project Actions

VCA and Folder

Automation

Other

Modifiers

Reaper Actions

If you want to trigger Reaper actions from CSI, use the syntax shown below:

Button1 Reaper 40454 
Button2 Reaper _0e5b196e7f67994bab6de09c49f05926    
Button3 Reaper _SWSTL_SHOWALL    

Invokes the Reaper Action (custom or built in) specified by the Reaper Command ID in the argument. The syntax is the Widbet name, followed by the word Reaper, followed by the Command ID. How do you get the Command ID? Open the Reaper Action List, right-click on the action name, and select "Copy selected action command ID" which copies it to your clipboard. Paste the Command ID into the .zon file at the appropriate location.

As a best practice, you can label the command ID in your .zon using two forward slashes to leave trailing comments like this:

Button1 _S&M_FXBYPLAST     // Bypasses last touched FX on the selected track

Macro Actions

CSI allows you to invoking multiple Actions from a single control by simply defining more than one action your zone file. This allows you to effectively create CSI macros actions. The actions will be executed in the order they appear in the zone definition.

For example, the below string of actions will toggle showing folders only, or their children.

Zone "Buttons"
        Shift+F4     Reaper 41803     //Track: Select all top level tracks
        Shift+F4     Reaper 41665     //Mixer: Show/hide children of selected tracks
        Shift+F4     Reaper 40297     //Track: Unselect all tracks
ZoneEnd 

The next example combines some SWS actions with a GoHome command to close plugin windows whenever you GoHome.

Zone "Buttons"
    GlobalView                  GoHome
    GlobalView                  Reaper _S&M_WNCLS3        	// Close all floating FX windows
    GlobalView                  Reaper _S&M_WNCLS4        	// Close all FX chain windows
ZoneEnd 

The next example shows how you can run multiple actions in a SelectedTrackFXMenu to open the plugin GUI as you map the plugin.

Zone "SelectedTrackFXMenu"
    RotaryPushA|                 GoFXSlot
    RotaryPushA|                 Reaper "_S&M_FLOATFX|"
    RotaryPushA|                 Reaper "_S&M_SELFX|"
ZoneEnd