J
Jon Berry
I've assigned Alt + F1 as a shortcut key to an application.
This works fine to launch the program from the keyboard.
Now I want to use SendKeys to do the same thing.
So I sent Alt+F1 like so:
SendKeys.SendWait("%{F1}");
This doesn't appear to do anything.
As a test I sent Alt+F4 to close the window like so:
SendKeys.SendWait("%{F4}");
This works to close the Window.
Why doesn't the Alt+F1 work to launch the app with SendKeys?
Thanks.
This works fine to launch the program from the keyboard.
Now I want to use SendKeys to do the same thing.
So I sent Alt+F1 like so:
SendKeys.SendWait("%{F1}");
This doesn't appear to do anything.
As a test I sent Alt+F4 to close the window like so:
SendKeys.SendWait("%{F4}");
This works to close the Window.
Why doesn't the Alt+F1 work to launch the app with SendKeys?
Thanks.