View Single Post
Old 12-17-2018, 05:25 AM   #145
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Quote:
Originally Posted by X-Raym View Post
Do you think we can get selected media files from Media Explorer and start doing some Media Explorer script ? :P
As Edgemeal answered, yes you can! (I am actually using some myself.)

Three remarks:

* You can open the Media Explorer (and get its HWND) using reaper.OpenMediaExplorer("", false).

* You can run any action from the Actions list's Media Explorer context (or even any item from the ME's menu), using JS_Window_OnCommand.

* If you are publishing a script that searches for any of REAPER's standard windows, such as the Media Explorer, use JS_Localize to get the translated title.
juliansader is offline   Reply With Quote