Jump to content

how do I send a keystroke?


Brian

Recommended Posts

Hello, to use keyboard:

robotManager.Helpful.Keyboard.PressKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.Escape);

(You can also use Keyboard.DownKey(...) or Keyboard.UpKey(...)  (https://msdn.microsoft.com/fr-fr/library/system.windows.forms.keys(v=vs.110).aspx )

To use Wow keybinding:

wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.JUMP);

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...