External Auto Ability?

Posts 1–3 of 3 · Page 1 of 1
External Auto Ability?
Is there an external auto-ability? Like a program you can set an ability delay and it'll press a button based on that delay?
You could just use AHK (AutoHotKey). Just google it and learn it. AHK is useful in certain situations.
Quote Originally Posted by BoominSheep View Post
Is there an external auto-ability? Like a program you can set an ability delay and it'll press a button based on that delay?
Literally almost every programming language can interact with the native operating system (get mouse, key press etc...)
JAVA

Code:
public class TestRobotKeys {

    private Robot robot;

    public static void main(String[] args) {
        new TestRobotKeys();
    }

    public TestRobotKeys() {
        try {
            robot = new Robot();
            robot.setAutoDelay(250);
            robot.keyPress(KeyEvent.VK_ALT);
            robot.keyPress(KeyEvent.VK_1);
            robot.keyRelease(KeyEvent.VK_1);
            robot.keyPress(KeyEvent.VK_2);
            robot.keyRelease(KeyEvent.VK_2);
            robot.keyPress(KeyEvent.VK_3);
            robot.keyRelease(KeyEvent.VK_4);
            robot.keyRelease(KeyEvent.VK_ALT);
        } catch (AWTException ex) {
            ex.printStackTrace();
        }
    }
So just robot.keyPress(//YourAbilityKey);
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?