Old 01-21-2018, 12:32 PM   #1
Arthur McArthur
Human being with feelings
 
Arthur McArthur's Avatar
 
Join Date: Sep 2016
Location: Toronto
Posts: 749
Default Call custom/SWS action from MIDI editor in script

I can't seem to find how to do this. Does someone know off hand the call for doing this in Python?
Arthur McArthur is offline   Reply With Quote
Old 01-21-2018, 02:04 PM   #2
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,964
Default

Code:
command_id = RPR_NamedCommandLookup("_THE_SWS_OR_CUSTOM_ACTION_ID")
RPR_MIDIEditor_LastFocused_OnCommand(command_id, False)
cfillion is offline   Reply With Quote
Old 01-21-2018, 02:54 PM   #3
Arthur McArthur
Human being with feelings
 
Arthur McArthur's Avatar
 
Join Date: Sep 2016
Location: Toronto
Posts: 749
Default

Works like a charm, thanks again cfillion!
Arthur McArthur 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 12:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.