View Single Post
Old 05-17-2019, 12:48 PM   #49
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by _Stevie_ View Post
@Justin: is it expected, that global hotkeys don't work at all, when script windows are focused? I thought it would only affect script windows, if a text box has focus. I know, tough one...
There's no such thing as a text box in a Reascript GUI. Even if you think you see one - it's just a graphics mock up of one coded by the script author. Eg - all the one's in Stripper are just drawn the 'textbox' drawing routine. There's nothing to actually tell Reaper when one of these textboxes is displayed or not.

The only solution I can think of for this - is an API call that a scripter can use to signal whether the script receives global key assignments (ie. when it opens a textbox), or not - when no textbox is visible. Only the script coder can tell when this will be.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote