Jump to content

Recommended Posts

Posted

Hi, I'm trying to send keystrokes to Skyrim with C# and it works for everything except Skyrim. When i open the game, the code it still running saying it is sending the keystrokes but nothing happens in-game.

Alternatively, is it possible to send the commands to Skyrim another way? something with SKSE? i couldn't find any documentation regarding that sort of thing.

Posted
  On 5/25/2021 at 1:51 AM, IsharaMeradin said:

With SKSE, Papyrus has TapKey, HoldKey and ReleaseKey among other things (see Input Script)

 

But if you are asking about an SKSE DLL plugin, no idea.

 

I have read that some people have had success with auto-hotkey to chain together a variety of in-game key presses. Never tried it myself

 

Thank you, I guess I'm just gonna have to go with that. Have my program press keys, then have SKSE detect the key being pressed. Thank you!

Posted

Yeah AutoHotKey works well. Used a lot in the past for autofill console commands and such since I hate typing those

 

With Skyrim I had to use a special modifier for hotkeys to be detected, and I have never needed this modifier again

 

Put asterisk

 

*^F1:: Press Cltr + F1 in game for whatever routine

  • 1 month later...
Posted (edited)

I'm still not able to send any keystroke to the game from a C# program. I've tried many different methods. The game just doesn't recognize them. I've used SendKeys, Keyb_event, and Input Simulator and none of them are recognized by Skyrim but they are by other games/programs. Does anyone have an idea what I'm doing wrong?

Edited by zbigdogz
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...