diff --git a/bin/JavaProjectTemplate.jar b/bin/JavaProjectTemplate.jar deleted file mode 100644 index 37133e2..0000000 Binary files a/bin/JavaProjectTemplate.jar and /dev/null differ diff --git a/bin/PEWCopyTool.jar b/bin/PEWCopyTool.jar new file mode 100644 index 0000000..ad10084 Binary files /dev/null and b/bin/PEWCopyTool.jar differ diff --git a/manifest b/manifest new file mode 100644 index 0000000..73ee507 --- /dev/null +++ b/manifest @@ -0,0 +1 @@ +Main-Class: sig.PEWCopyTool diff --git a/src/sig/PEWCopyTool.java b/src/sig/PEWCopyTool.java index 6dbf08a..3bc211b 100644 --- a/src/sig/PEWCopyTool.java +++ b/src/sig/PEWCopyTool.java @@ -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(); }