SendKeys not working on Fraps

夙愿已清 提交于 2019-12-13 12:34:58

问题


For those not familiar with fraps. Its screen recording program that you can trigger with key shortcuts.

I am using triggering fraps using the SendKeys.SendWait call. I noticed this is not triggering fraps to record any video but if I manually press the key, fraps would being recording. Is there a way to figure out if fraps is doing that is disallowing me from doing this?

I'm able to start the program and navigate its menu, so I'm pretty sure I am using SendKeys correctly.


回答1:


http://inputsimulator.codeplex.com/

This worked.

This windows API simulated text entry but not keystrokes. This library does keystrokes.



来源:https://stackoverflow.com/questions/3184668/sendkeys-not-working-on-fraps

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!