In previous scripts, I have been able to use the SendKeys
method to press non-alphabetic keys on my computer like the following to simulate muting,
WshShell.SendKeys(chr(&hAD))
.
However, I cannot seem to find the ability to simulate pressing Fn and any of the F1-F12 keys. I am trying specifically to press the "Lower Screen Brightness" key, which is Fn+F11 on my keyboard.
How can this be accomplished?