sss15
31 discussion posts
Hi, I have a requirement to operate all the windows on all monitors at the same time,
for example, I have four windows(IE or other software) on 4 monitors, when I operate one window, such as PageUp/PageDown, I want the other 3 windows also go with the same operation, displayed by PageUp/PageDown.
The only solution I think is to use DF script, and loop all the visible window, and focus then send a PageUp/PageDown key event. But the problem is, there needs a new function to switch from normal mode to such a linked-operation mode, just like Lock/Unlock mouse, when switched to linked-operation mode, then the key user input will be sent to all other windows. But how to do this in DF script?
or Is there a simple way in DF to realize such function?
Thanks a lot!
sss15
31 discussion posts
Another question, In DF script function, I didn't find how to listen to the key event that user inputs. There is only BFS.Input.isKeyDown to check if specified keys pressed.
Unfortunately a DisplayFusion script won't really work for that. Something like that would require using keyboard hooks, which is beyond the scope of the Scripted Functions feature.
Sorry!
sss15
31 discussion posts
In DF mouse management, there is a function "allow the mouse wheel to scroll windows under the mouse cursor that are not in focus", and I notice there is no focus/defocus, that should be an example how to send event to specified window. Is that could be realized in DF script function?
Now I loop all visible windows handle, and focus each then send keys to it, at last focus back the first focused window. But this will result an focus and defocus blinking in display.
Oct 20, 2016 (modified Oct 20, 2016)
•
#4
It wouldn't be possible to do that without giving the window focus first, no. The mouse wheel is a special case, and the way we do that doesn't allow for keyboard keys. Sorry!