Add more key events

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
sigonasr2, Sig, Sigo 2022-09-15 16:49:17 +00:00
parent 3cfee5cce6
commit f5c9575a47
4 changed files with 7 additions and 0 deletions

Binary file not shown.

BIN
bin/PEWCopyTool.jar Normal file

Binary file not shown.

1
manifest Normal file
View File

@ -0,0 +1 @@
Main-Class: sig.PEWCopyTool

View File

@ -12,6 +12,10 @@ public class PEWCopyTool {
r = new Robot();
//SHIFT+Down 15 times.
r.setAutoDelay(25);
r.keyPress(KeyEvent.VK_ALT);
r.keyPress(KeyEvent.VK_TAB);
r.keyRelease(KeyEvent.VK_TAB);
r.keyRelease(KeyEvent.VK_ALT);
r.keyPress(KeyEvent.VK_SHIFT);
for (int i=0;i<15;i++) {
r.keyPress(KeyEvent.VK_DOWN);
@ -20,6 +24,8 @@ public class PEWCopyTool {
r.keyRelease(KeyEvent.VK_SHIFT);
r.keyPress(KeyEvent.VK_CONTROL);
r.keyPress(KeyEvent.VK_C);
r.keyRelease(KeyEvent.VK_C);
r.keyRelease(KeyEvent.VK_CONTROL);
} catch (AWTException e) {
e.printStackTrace();
}