向下翻页 SendKeys 不工作 C#

Page down SendKeys not working C#

所以我的一段代码是:

SendKeys.SendWait("{PGDN}");

此代码将数字 3 发送到我正在使用的程序。 Page Down 按钮,在我键盘上的箭头上方,是一个程序所必需的,它有一个功能...... 该键的功能与键盘上的 Page Down 按钮不同。

有没有人知道让 SendKeys.SendWait(...) 发送键盘上的 Page Down 按钮而不是小键盘上的“3”的方法?

所以我的结论很简单。使用 TyCobb 推荐的 InputSimulator,我能够正确模拟虚拟键码,一切都很顺利。