[RWP] Extending reaper with Reascript Macros
Indigo
33indigo at charter.net
Sat May 18 09:26:20 EDT 2013
Thanks, Jim.
.Wonderful, isn't it; to find the secret words to get into Aladdin's
Treasure Cave?
I'm sure you're long since used to it, but I feel the excitement that a
real programmer might feel.
I suppose; since there's no mention in the ReaScript Wiki; that no
semicolon or other punctuation would be needed at line endings, like in
some code systems I've seen.
Nadine said she got into the map and put in alt+C to copy item; and it
now speaks.
Maybe you could give details on where you found the keymap, Nadine, and
exactly what you put into the keymap?
The only occasion I think I saw the ReaAccess keymap was after
installation of ReaAccess, before I closed the installer; so I assume
that might be where to look for it.
I'll try to write a ReaScript, calling multiple actions, and place it in
the keymap; and learn what happens.
I did notice some already written custom actions in the Cockos forums;
so I guess I'll download those and look at how they're done; plus share
them here; even if they're not a useful action; they could provide a model.
Thanks,
Indi
On 5/16/2013 10:43 PM, Jim Snowbarger wrote:
> 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
>>
>
>
>
> _______________________________________________
> RWP mailing list
> RWP at reaaccess.com
> http://reaaccess.com/mailman/listinfo/rwp_reaaccess.com
More information about the Rwp
mailing list