Add more key events

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago
parent 3cfee5cce6
commit f5c9575a47
  1. BIN
      bin/JavaProjectTemplate.jar
  2. BIN
      bin/PEWCopyTool.jar
  3. 1
      manifest
  4. 6
      src/sig/PEWCopyTool.java

Binary file not shown.

Binary file not shown.

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

@ -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();
}

Loading…
Cancel
Save