Exergist Posted April 10, 2018 Share Posted April 10, 2018 I understand that the SKSE Input Script has functions for sending virtual input from Papyrus to the game, specifically TapKey, HoldKey, and ReleaseKey. During my testing I found that this input is contained within the game itself, so other applications do not "see" the virtually pressed keys (there must be some hooking going on behind the scenes). Is it possible for Papyrus to send key input that CAN be "seen" by other applications? Or perhaps is it possible for Papyrus to trigger another application (such as AutoHotkey) to send virtual keys that are visible to other applications? Thanks! Link to comment Share on other sites More sharing options...
cdcooley Posted April 13, 2018 Share Posted April 13, 2018 No. Papyrus doesn't have a way to interact outside of the game and neither does SKSE. In theory an SKSE plugin could do that, but I don't know of any that do. Link to comment Share on other sites More sharing options...
Exergist Posted April 16, 2018 Author Share Posted April 16, 2018 Ok so I've done a bunch of research on this subject, and I believe it would indeed be possible to have Papyrus communicate with external programs via either:Reading/writing a text file using PapyrusUtil (via the ReadToFile and WriteToFile functions within MiscUtil)Sending keys or other triggers via batch file executed from the console (and plugins like ConsoleUtil come in handy here)Sure this is somewhat indirect, but as @cdcooley already mentioned there isn't anything more concrete in place to do this (based on what I've found so far). Link to comment Share on other sites More sharing options...
Recommended Posts