Compare commits

...

2 Commits

Author SHA1 Message Date
sigonasr2, Sig, Sigo b61c5c02c1 Add more key events 2 years ago
sigonasr2, Sig, Sigo f5c9575a47 Add more key events 2 years ago
  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(); r = new Robot();
//SHIFT+Down 15 times. //SHIFT+Down 15 times.
r.setAutoDelay(25); 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); r.keyPress(KeyEvent.VK_SHIFT);
for (int i=0;i<15;i++) { for (int i=0;i<15;i++) {
r.keyPress(KeyEvent.VK_DOWN); r.keyPress(KeyEvent.VK_DOWN);
@ -20,6 +24,8 @@ public class PEWCopyTool {
r.keyRelease(KeyEvent.VK_SHIFT); r.keyRelease(KeyEvent.VK_SHIFT);
r.keyPress(KeyEvent.VK_CONTROL); r.keyPress(KeyEvent.VK_CONTROL);
r.keyPress(KeyEvent.VK_C); r.keyPress(KeyEvent.VK_C);
r.keyRelease(KeyEvent.VK_C);
r.keyRelease(KeyEvent.VK_CONTROL);
} catch (AWTException e) { } catch (AWTException e) {
e.printStackTrace(); e.printStackTrace();
} }

Loading…
Cancel
Save