Python Ctypes Keybd_event Simulate Ctrl+alt+delete
I'm trying to simulate ctrl+alt+del with keybd_event but it doesn't do anything, stuff like ctrl+esc or alt+tab do work yet ctrl+alt+del won't work. import ctypes ctypes.windll.use
Solution 1:
CTRL + ALT + DEL is a special key sequence, known as the secure attention sequence that, for security reasons, cannot be faked using keybd_input
or SendInput
.
You will need to use the SendSAS
API call to simulate the SAS. Do read the documentation carefully do make sure that you adhere to the stringent requirements of this function.
Post a Comment for "Python Ctypes Keybd_event Simulate Ctrl+alt+delete"