You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var sim = new InputSimulator();
sim.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, new[] { VirtualKeyCode.VK_U, VirtualKeyCode.VK_I });
sim.Keyboard.ModifiedKeyStroke(VirtualKeyCode.MENU, VirtualKeyCode.VK_H);
The second case could be done with
{
var sim = new InputSimulator();
sim.Keyboard.KeyDown(VirtualKeyCode.CONTROL);
sim.Keyboard.KeyPress(VirtualKeyCode.VK_U, VirtualKeyCode.VK_I);
//sim.Keyboard.KeyUp(VirtualKeyCode.CONTROL);
sim.Keyboard.KeyDown(VirtualKeyCode.MENU);
sim.Keyboard.KeyPress(VirtualKeyCode.VK_H);
sim.Keyboard.KeyUp(VirtualKeyCode.MENU);
sim.Keyboard.KeyUp(VirtualKeyCode.CONTROL);
I've only read the documentation and played with this library for 5 minutes, and have nothing to test that on myself, so I don't really know if this will work, but it is what the docs imply
can anyone tell me how to do this:
ctrl u+ctrl i+alt h
how can i do this with modify key stroke?
The text was updated successfully, but these errors were encountered: