Why does SendKey.Send() only work once in a while?
问题 I'm making a Windows application that captures keyboard input globally. When a user uses the CTRL + ALT + G shortcut combo the application uses SendKey.Send(Guid.NewGuid().ToString()); to type a generaged GUID into whatever text field is in focus. And it should do this regardless of the application taking the input. It works exactly as I intended the first time you type CTRL + ALT + G but subsequent attempts result in nothing, or just very infrequent successes. I mean, it all should be very