From 42d695f805b99d39f2191cd4904122b2158fe590 Mon Sep 17 00:00:00 2001 From: "atmind.kr" Date: Wed, 1 Oct 2025 13:19:57 +0900 Subject: [PATCH] Add supp2.txt fdfsd --- supp2.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 supp2.txt diff --git a/supp2.txt b/supp2.txt new file mode 100644 index 0000000..cb839d8 --- /dev/null +++ b/supp2.txt @@ -0,0 +1,34 @@ +package supp_work; + +import java.awt.AWTException; +import java.awt.Robot; +import java.awt.event.KeyEvent; + +public class AppMain { + + public static void main(String[] args) throws AWTException, InterruptedException { + // TODO Auto-generated method stub + Robot robot = new Robot(); + + boolean isContinue = true; + + while(isContinue) { + System.out.println("wait 1m"); + for(int i=0;i<10*60;i++) + { + Thread.sleep(100); + if(!isContinue) break; + } + + if(!isContinue) break; + + System.out.println("press F5"); + robot.keyPress(KeyEvent.VK_F5); + Thread.sleep(100); + System.out.println("release F5"); + robot.keyRelease(KeyEvent.VK_F5); + + } + } + +}