interactive filters - keystrokes - preview
Posted: Tue Aug 30, 2016 5:55 pm
Hi.
I have made ExoticPan a bit more interactive, but it annoys me that I cant control the whole show with the keyboard.
It was my plan to keyboard enable the exotic pan settings dialog, so it could be controlled with keystrokes only, but i ran into a problem with window focus.
Arrow keys together with Shift and Alt has a meaning for the preview window.
I was planning to use 'w' (up), 's' (down) , 'a' (left), 'd' (right) to move placement of the ExoticPan frame 9 pixels in the given direction. Combined with "Shift" would move 27, and combine with "Control" to fine adjust, moving 3 pixels only. (Shift and Control right now works in that manner together with mouse press on the wsad buttons.)
Problem is that I cannot tell preview pane (if that one has focus) to send useless keystrokes like e.g. ctrl-w to the dialog, and likewise I don't know how to send Alt-Right Arrow on to the preview pane if the dialog has focus.
If I could do that, I could keep the focus on one of the windows (preview or settings dialog), and still maneuver the whole thing from the keyboard.
I could probably use dirty tricks, like traversing top level windows, recognize the preview window, and install a hook on that one.
But that would take me a long time to develop, and next version of VDub could change that.
Even being able to switch focus back to the preview pane would help a lot, but i get a Boolean back when activating the preview, not something that points the a window handle.
Any ideas?
Thanks in advance.
I have made ExoticPan a bit more interactive, but it annoys me that I cant control the whole show with the keyboard.
It was my plan to keyboard enable the exotic pan settings dialog, so it could be controlled with keystrokes only, but i ran into a problem with window focus.
Arrow keys together with Shift and Alt has a meaning for the preview window.
I was planning to use 'w' (up), 's' (down) , 'a' (left), 'd' (right) to move placement of the ExoticPan frame 9 pixels in the given direction. Combined with "Shift" would move 27, and combine with "Control" to fine adjust, moving 3 pixels only. (Shift and Control right now works in that manner together with mouse press on the wsad buttons.)
Problem is that I cannot tell preview pane (if that one has focus) to send useless keystrokes like e.g. ctrl-w to the dialog, and likewise I don't know how to send Alt-Right Arrow on to the preview pane if the dialog has focus.
If I could do that, I could keep the focus on one of the windows (preview or settings dialog), and still maneuver the whole thing from the keyboard.
I could probably use dirty tricks, like traversing top level windows, recognize the preview window, and install a hook on that one.
But that would take me a long time to develop, and next version of VDub could change that.
Even being able to switch focus back to the preview pane would help a lot, but i get a Boolean back when activating the preview, not something that points the a window handle.
Any ideas?
Thanks in advance.