PDA

View Full Version : Problem sending key for ALT-F4 to non-foreground window



dringdahl
July 6th, 2016, 04:33 PM
When using the Keyboard->Send Targeted action, I can send just about anything to the targeted window. However, if I try to send ALT-F4 (using the string "@<F4>"), it always sends the keystroke to the foreground window. This also appears to happen if using the new keyboard.sendKeys lua function.

Yes, I know there are other ways to close windows, but this is still a bug and should be addressed.

Ron
July 6th, 2016, 05:08 PM
We are currently looking at that code so I'll see what we can do, however keep in mind that keyboard emulation is not something that windows officially supports to anything but the foreground windows so it's always going to be problematic. Use Window->Close to close a window. For most things Girder has a few ways to go, pick the best for each.