[RWP] Extending reaper with Reascript Macros

Jim Snowbarger Snowman at SnowmanRadio.com
Thu May 16 22:43:07 EDT 2013


Well, there you go.  Once you can bind a script to a hot key, your home 
free.  All  you need to do to string actions together is to have multiple 
lines, each containing this api call, with the appropriate action number.

It's worth mentioning, in case anybody else other than me doesn't already 
know, to get the action numbers to show, you don't have to scroll right, as 
described.  Just right click on the action, down arrow to show action ID'S, 
and press enter.

Time to learn to write a simple REAScript, and bind it to a hot key.


----- Original Message ----- 
From: "Indigo" <33indigo at charter.net>
To: "Reapers Without Peepers" <rwp at reaaccess.com>
Sent: Thursday, May 16, 2013 12:06 PM
Subject: [RWP] Extending reaper with Reascript Macros


> 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
>
> _______________________________________________
> RWP mailing list
> RWP at reaaccess.com
> http://reaaccess.com/mailman/listinfo/rwp_reaaccess.com
> 






More information about the Rwp mailing list