1.02 Running Scripts:
Technically, the user scripts can be placed anywhere.
It's probably best to keep them where they are (dh_Toolkit_v1/scripts)
unless there is a compelling reason not to.
1. In Reaper's main menu click "Actions" then "Show action list". This opens the "Actions" window.
2. Click the "New action" button then click "Load Reascript" from the dropdown menu.
3. Browse to the "dh_Toolkit/scripts" directory (or wherever you placed the "scripts" directory) and select the script you wish to run. Click open.
4. This file now appears in the action list as: "Script:<script name>.lua". Select it.
5. Click the "Run" button. The script should run.
Using Toolbar buttons:
Of course, since the whole purpose of these scripts is for convenience,
it is desirable to have quick access to them by using toolbar buttons.
I have included in the "dh_Toolkit/assets" directory the toolbar buttons that I use.
There are both bordered and unbordered versions.
If you wish to use them you can copy the individual files into the appropriate reaper directory:
1. Copy the files (files only) from inside the "assets/toolbar_icons" directory to "Reaper/Data/toolbar_icons".
2. Copy the files (files only) from inside the "assets/toolbar_icons/150" directory to "Reaper/Data/toolbar_icons/150".
3. Copy the files (files only) from inside the "assets/toolbar_icons/200" directory to "Reaper/Data/toolbar_icons/200".
Customizing the Toolbar:
1. Right-click on an empty part of the toolbar. Select the "Customize toolbar" option from the popup menu. This opens the "Customize menus/toolbars" window.
2. Click the "Add" button at the bottom. This opens the "Actions" list window. If you already executed the steps in "Running Scripts" above the script should already be in the list. Type the word "scripts" in the "Filter" box to navigate to the scripts. Otherwise execute steps 2, 3, and 4 in "Running scripts" above.
3. With the script selected click the "Select/close" button. The script should now appear in the "Customized toolbar" pane. You can drag it up or down to reposition it.
4. At this point Reaper will give it a generic image for the button. To add a custom button right-click the script name and select "Change icon" from the popup menu. This opens a window displaying all the toolbar icons. Click on the one you want and close the window. Click the "OK" button on the bottom and you should be all set. The button should appear in the toolbar, and you can click it to run the script.