Go Back   Cockos Incorporated Forums > REAPER Forums > JSFX and ReaScript Discussion

Reply
 
Thread Tools Display Modes
Old 06-16-2017, 07:56 AM   #1
deeb
Human being with feelings
 
Join Date: Feb 2017
Posts: 186
Default reaper.GetTrackNumSends(track, 0) gets number of send, but how do i get their ids ?

Code:
for i = 0, selected_track_counter-1 do
  local track = reaper.GetSelectedTrack(0, i)
  
     track_send_counter = reaper.GetTrackNumSends(track, 0)
     for j = 0, send_track_counter-1 do
           msg("I want to apply to each:Show in TCP and MCP" ); 
     end
 
end
Thanks!
deeb is offline   Reply With Quote
Old 06-16-2017, 08:25 AM   #2
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,307
Default

BR_GetMediaTrackSendInfo_Track() from SWS can help you to set receive track attributes.
__________________
SoundCloud | MPL Scripts / ReaPack | Donate
mpl is online now   Reply With Quote
Old 06-16-2017, 09:10 AM   #3
deeb
Human being with feelings
 
Join Date: Feb 2017
Posts: 186
Default

thank you mpl ! couldn't find it and now i can't find documentation about this one : )
i am doing:
send_tr = reaper.BR_GetMediaTrackSendInfo_Track(track, 0, j, 1)
msg(send_tr);

and gets consoled: userdata: 0x11063e000
and i don't know what is this.

edit: found documentation in extremraym.com and i think i can go on

Last edited by deeb; 06-16-2017 at 09:29 AM. Reason: update
deeb is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:35 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.