Keyboard icon indicating copy to clipboard operation
Keyboard copied to clipboard

Mouse Background

Open pasayazici opened this issue 7 years ago • 3 comments

Hi. This is best. But do you have any thing for mouse events on background. Mouse drag-drop,click,dbclick,rclick, mdclick...

pasayazici avatar Feb 08 '18 13:02 pasayazici

Never tried, it wasn't required for the work i was doing. The easiest way would likely be to develop an injection dll that hooks the keyboard/mouse listener for the app you are using as well as the isForegroundWindow, then have the dll listen for api calls from your external app.

EasyAsABC123 avatar Feb 08 '18 14:02 EasyAsABC123

I want to do keyboard and mouse operations on the background. This will enable the user to use the keyboard. But this tool sends the key to when the after window foreground.

Example: Messaging.BackgroundMouseClick key.PressBackground(p.MainWindowHandle);

This operation have foreground postmessage.

pasayazici avatar Feb 08 '18 14:02 pasayazici

feel free to submit a PR

EasyAsABC123 avatar Jul 09 '20 20:07 EasyAsABC123