source code

This commit is contained in:
rustdesk
2021-03-27 09:41:55 +08:00
parent 002fce136c
commit ad0a24ba23
176 changed files with 35192 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
use enigo::{Enigo, KeyboardControllable};
use std::thread;
use std::time::Duration;
fn main() {
thread::sleep(Duration::from_secs(2));
let mut enigo = Enigo::new();
// write text and select all
enigo.key_sequence_parse("{+UNICODE}{{Hello World!}} ❤️{-UNICODE}{+CTRL}a{-CTRL}");
}