[RWP] Extending reaper with Reascript Macros

Indigo 33indigo at charter.net
Thu May 16 13:06:09 EDT 2013


Python programming language and ReaScript, which uses Python, can get 
complex, but I understand this to say that I can call any action with 
this API script; and; I'm assuming that I can list more than 1 action, 
though this isn't stated here.
I'm going to buy the e-book: Reaper 4 Unleashed; about $10 USD, which 
claims to get you going with custom actions, keymaps, etcetera.
I'm already finding already written custom actions in Reaper's resources 
link, also in the Cockos forums.
Here's the quote from the Wiki on ReaScript:
Snip:
top  Calling REAPER Actions

You can call any REAPER action from ReaScript by using the API function

RPR_Main_OnCommand(actionnumber, 0)

Find the action number for a given action by opening the Actions list, 
and scrolling the window right to reveal an extra column. For example, 
from ReaScript you would call the REAPER action "Item: Split item under 
mouse cursor" like this:

RPR_Main_OnCommand(40746, 0)

If you use ReaScript as an advanced macro language, this is the only API 
function you need to know.
End Snip.


http://www.reaper.fm/sdk/reascript/reascript.php




More information about the Rwp mailing list