How to trig key stroke outside the OF app?

I want to trig a simulate keyboard key pressed to trig an external video player in Windows.

I have seen this post talking about how to do it on OSX:

It’s also mentioned a way on Windows, I have no idea how to do it…
https://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx

Any help would be appreciated!