Old 07-26-2020, 07:24 AM   #1
Archie
Human being with feelings
 
Archie's Avatar
 
Join Date: Oct 2017
Location: Russia
Posts: 366
Default "OnCommand" in the MIDI inline editor section

We have such functions as
Code:
    reaper.Main_OnCommand(command,flag)
    reaper.MIDIEditor_OnCommand(midieditor,command_id)
The first one starts the action from the main section (0)
The second one is from the MIDI editor section. (32060)
Question:
Is there a way to run an action from the section MIDI inline editor (32062)
__________________
=================================
ReaPack| Archie-ReaScript: Discussion | Donate | Donate2 | Donate3 | PayPal |
Archie is offline   Reply With Quote
Old 07-26-2020, 10:42 AM   #2
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

If we can get the hwnd of the inline editor, it can be done via Julian's extension, maybe.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 07-26-2020, 10:54 AM   #3
Archie
Human being with feelings
 
Archie's Avatar
 
Join Date: Oct 2017
Location: Russia
Posts: 366
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
If we can get the hwnd of the inline editor, it can be done via Julian's extension, maybe.
Yes, I saw the reaper.JS_Window_OnCommand( windowHWND, commandID) function, but I did not understand where to get the windowHWND inline editor
__________________
=================================
ReaPack| Archie-ReaScript: Discussion | Donate | Donate2 | Donate3 | PayPal |
Archie is offline   Reply With Quote
Old 01-15-2022, 08:50 PM   #4
tack
Human being with feelings
 
tack's Avatar
 
Join Date: Jan 2014
Location: Ontario, Canada
Posts: 1,618
Default

I decided to experiment with using the inline editor more in my workflow and I also ran into this pretty surprising limitation.
tack is online now   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 02:02 PM.


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