The easiest way of calling external .exe is defining it as external editor, but if you do not want to do this, there should be a way of running any .exe from lua. Did not test this myself, but I am sure some lua expert here would have useful tips.
The key in action list is something different than anything in the program.
action key: triggers only action
action: can be for example running an .exe, so it will start
what will happen later depends on the .exe, so in your case you have to hit its built in hotkeys again. Normally all hotkeys should work as they did always. Of course you could remove the required hotkeys, so the .exe would immediately do its content. You could split above into two separate actions and two .exe if both cases are important to you. Then combine freely in any custom action in Reaper.
Regarding the menu:
PHP Code:
; Borderless full screen CTRL+ALT+F
^!f::
WinGetTitle, currentWindow, A
IfWinExist %currentWindow%
{
WinSet, Style, ^0xC00000 ; hides the title bar
WinMove, , , 0, 0, 1920, 1080
WinWait ahk_class REAPERmidieditorwnd
DllCall("SetMenu", uint, WinExist(), uint, 0) ; Remove menu bar of "last found window"
}
return
; Borderless full screen CTRL+ALT+G
; Some games don't work with the above script, so there's an alternative
^!g::
WinGetTitle, currentWindow, A
IfWinExist %currentWindow%
{
WinSet, Style, -0x400000 ; hides the dialog frame
WinSet, Style, -0x40000 ; hides the sizebox/thickframe
WinSet, Style, -0x800000 ; hides the thin-line border
WinSet, Style, -0xC00000 ; hides the title bar
WinMove, , , 0, 0, 1920, 1080 ; moves the entire window to 0,0 i.e. upper left corner.
WinWait ahk_class REAPERmidieditorwnd
DllCall("SetMenu", uint, WinExist(), uint, 0) ; Remove menu bar of "last found window"
}
return