Is it possible to click on Windows UAC dialog using java.awt.Robot?
问题 I'm working on a custom remote desktop in Java using java.awt.Robot on Windows 7. It all works apart from running a Command Prompt as an administrator. The UAC dialog appears, however button clicks are not accepted on the Yes button using mousePress() / mouseRelease() , neither are key presses with keyPress() / keyRelease() . The application is launched via a launch4j launcher in launcher rather than wrap mode. Things I've done so far Disabled secure desktop for UAC. This allowed the screen