Hi guys Not a programmer but love to learn.. Is it possible to EDIT an Action built-in Reaper by getting its code and adapting to personnal uses with the SCRIPTING fonctions? In this case the Action called "Track: Insert/show reaEQ (track EQ)" would be used to insert my favorite Go-to EQ then assign to a keycommand shortcut. Is it possible and if yes, how should I do it, or where should I look for help on this? Thanks in advance Alex ----------------------------------------------------------------------- EDIT: I am reading and found this somewhere on Google and Forums. I was able to do basic stuff in ReaScript following some one else example: reaper.Undo_BeginBlock() -------------- (Restore before this point) id = reaper.GetSelectedTrack(0, 0) -------------- (Project (0 = current-project), track (0 = selected)) reaper.TrackFX_AddByName(id, "ReaComp", false, 1) --------------- (Track Id, Name of FX, Position, True) reaper.TrackFX_Show(id, 0, 3) ---showflag=0 for hidechain, =1 for show chain(index valid), =2 for hide floating window(index valid), =3 for show floating window (index valid) reaper.Undo_EndBlock("Add FX to Selected track", -1) -------------- (Creating restore point) My new question is, how do I toggle on/off to hide back the floating window on the same keycommand? I think the best way I could learn would be to know what is the original code in the Action "Track: Insert/show reaEQ (track EQ)" and be able to mess with it in a ReaScript. Is this possible some how? Thanks again in advance
Thank you very much to both of you guys this is helpful to me. I understand that its not open source and I will study further the new features of 5.77. Do you know what LUA or ELL code would be written to do a replicate of the BUILT IN action that Cockos created with the Track: ReaEQ Show/Insert? I would just replace the code line where the plugin name is written to what I need :) Until then Ill keep studying thanks for everything guys. I appreciate it! Alex
--------------------- 2000 Ferrari 360 2004 Yamaha R1 2007 Porsche 911 C2S Cabrio 2017 VW Jetta (DD) 1995 M3 (SOLD HELP ME FIND IT TO REBUY) 1998 740IL (Sold) 2003 x5 4.6is (Sold)
Wow it works man! Thanks alot I really appreciate it for real.. I spent the whole friday night trying to do it myself wasn't able to understand alone. Thanks! I still have 2 questions if you are still willing and have free time: 1. how to be sure that this is the most efficient coding lines to replicate and that there are no useless coding? 2. how do we implement GetTrackUnderMouseCursor to work with this in any context either Arrange view or Mixer? Thanks again and in advance for your reply PS: I will use this function as my Number 1 action, will be repeated very often in every project thats why I ask for further info :) Alex EDIT: What does "For i=1 sel_track_count do" means?
Look at this my friend. Its crazy fast I've never seen that before! Its almost like thinking and doing without touching. I've taken your script to open Pro-Q and because I don't know how to code directly in LUA "select track Under mouse" and Center the FX Window at mouse cursor... I've used custom actions to complete the cycle. Following this, do you know how to code this directly in LUA (for learning purposes): 1. Select Track Under Mouse Cursor 2. Add FX Name if not inserted /or show if already inserted (including master trck) 3. Center Active Floating Window at Mouse Cursor (horizontal: middle Vertical: middle) Thanks again, Alex :D
Here is what I decided to do after testing the latest code you gave me :D I actually found that using the built-in Custom Action + Script from you is the best!! keycommand 1 on my keyboard = insert/show Pro-Q 2 at mouse cursor keycommand 2 on my keyboard = insert/show Pro-MB at mouse cursor Dude I am so HAPPY I'll donate you a few dollars for a beer!!! This script and custom action needs to be shared to the Reaper community. So useful! Thanks Alex