My
radial menu script relies on the user holding a key down to keep the window open, just by constantly checking for that key with
gfx.getchar. However, when a user runs certain actions from the menu the focus is given back to Reaper, the script stops seeing keyboard updates, and then Reaper says "hey, you've got this key down!" and runs the script again.
So far the only actions we've found that exhibit this behavior are "Item: Split items at edit cursor (select left)" and its brethren. See this post for a .gif example:
http://forum.cockos.com/showpost.php...&postcount=229
Is this a bug, or those actions meant to do that? If it's the latter, I'd love to have some way (maybe an extra flag for
Main_OnCommand?) to keep my window in focus.
Cheers.