
he he64024
1 discussion post
I tried this function but could not work, supposing the {printscreen} was not recognized...
is there any way to sendkeys PRTSC ?
...just do not like to use thirdparty app to capture
using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// your code goes here
//bool ok = BFS.Input.SendKeysFast("%{X}"); //Sends Alt+X
BFS.Input.SendKeys("({WIN}({PRINTSCREEN‌}))");
}
}
Unfortunately SendKeys won't send it in a way for an app to detect it as the print screen key. If you want to use the default Microsoft one though, this command will do it:
BFS.Application.Start(@"ms-screenclip:", "");