ctrl+alt+del command does not work
1598700226 opened this issue · comments
hfut-hhr commented
send(&EventType::KeyPress(Key::ControlLeft));
send(&EventType::KeyPress(Key::Alt));
send(&EventType::KeyPress(Key::Delete));
send(&EventType::KeyRelease(Key::Delete));
send(&EventType::KeyRelease(Key::Alt));
send(&EventType::KeyRelease(Key::ControlLeft));
Nicolas Patry commented
What do you mean it doesn't work ?
Are the keys not sent, or doesn't it do what it should ?
There might be something within the app you're trying to close that prevents reading from it, or on Windows maybe this combination is handled specially by the OS preventing injection from working ?