37 questions
0
votes
0
answers
153
views
MouseKeyHook not catching event to get selected text from different apps
I'm building a word lookup application that runs in system tray and when you scan a block of a few words and then press a hotkey combination like Shift + C + V for example.
However, the problem is ...
1
vote
0
answers
131
views
Hotkey with MouseKeyHook not catching event in C#
I'm building a word lookup application that runs in system tray and when you scan a block of a few words and then press a hotkey combination like Shift + C + V for example.
However, the problem is ...
1
vote
0
answers
151
views
Return value from async Hook.GlobalEvents()MouseDown
At the moment I am using a example code from the internet, but I want to change it so I can get the value of the mousebutton that is pressed down as an string value to use further in the Form1.cs ...
1
vote
1
answer
797
views
Windows Hooks do not trigger events and windows starts lagging. (Using globalmousekeyhook in C#)
I currently work with the Steelseries GameSense SDK to make my own effects etc. for my keyboard and mouse.
To light up my mouse and keyboard on clicks and presses, I use the globalmousekeyhook library....
0
votes
1
answer
381
views
PPT VSTO: how to excute shortcut over office's internal command
I was lucky to find one project called globalmousekeyhook, by which I can set a shortcut to my PPT VSTO addin.
The core part code is as below.
When I pressed the defined shortcut, both my addin's ...
2
votes
1
answer
399
views
Binding key combinations (strictly) to a specific form
Could you please tell me how to use the "globalmousekeyhook" library (https://github.com/gmamaladze/globalmousekeyhook/blob/vNext/keycomb.md) to write keyboard shortcuts Not to the whole ...
0
votes
0
answers
211
views
Problems with Keyboard Events in library “globalmousekeyhook”
When using library "globalmousekeyhook", two problems arose:
Problem #1: Global events do not work when called from a separate class
- If place the code to activate Global Events in a ...
1
vote
1
answer
384
views
How to fix error KeyEventHandler in c# console application?
I have a problem that when executing this code in my winform application, it runs normally but when running on the console it gets an error message, it seems that KeyEventHandler is only used in ...
1
vote
1
answer
299
views
Unregistering hotkeys at runtime with MouseKeyHook [closed]
I want to allow users to re-assign hotkeys at runtime and am using the Gma.System.MouseKeyHook NuGet package.
Creating new hotkeys at runtime works just fine and dandy but clearing the Action of an ...
1
vote
1
answer
606
views
I cannot hook the keyboard globally in elevated Windows applications
I am creating a clipboard monitor that will catch changes in clipboard and then convert the clipboard to pure text only. As such this works fine but I really cannot figure out why my application does ...
2
votes
1
answer
582
views
Mouse freezing/lagging when hit breakpoint
Goal: To be able to find point(X,Y) of element on windows desktop application which been clicked without performing click itself.
Not working solution
I've added mousekeyhook Nuget package to my .net ...
2
votes
3
answers
628
views
how to import a library in my case MouseKeyHook?
I just started programming in c# and I don't know how to import a library.
I need "globalmousekeyhook" in my program.
Can someone can help me? Thank you! ^^
Link to the library: https://...
1
vote
1
answer
935
views
MouseKeyHook 'CallbackOnCollectedDelegate' Issue
I am using Gma.System.MouseKeyHook and getting the following exception:
Managed Debugging Assistant 'CallbackOnCollectedDelegate'
Message=Managed Debugging Assistant 'CallbackOnCollectedDelegate' :...
0
votes
2
answers
879
views
How to cancel left mouse down without click on C#?
I'm try to wrote app, that will send right click, when user take long press left mouse button.
I found https://github.com/gmamaladze/globalmousekeyhook project and hook events with it.
When I hook ...
1
vote
0
answers
613
views
Crash in MouseKeyHook
can some one take a look to my C# source that has a crash issue? The program is supposed to omit unwanted double clicks the mouse sometimes sends and it works but after a while using the program it ...