import java.awt.*;
public class autokey {
public static void main(String[] args) throws Exception {
// Give the user time to switch windows
Thread.sleep(2000);
// Repeatedly type the letters A through Z until the mouse is moved
Robot rob = new Robot();
Point prevLoc = MouseInfo.getPointerInfo().getLocation();
while (MouseInfo.getPointerInfo().getLocation().equals(prevLoc)) {
for (int i = 'A'; i <= 'Z'; i++) {
rob.keyPress(i);
Thread.sleep(1);
}
Thread.sleep(50);
}
}
}
looks like the keyboard doesn’t work that well on mobile though (iOS). You need to press the keys below the key you want to type (eg if I want to type a T, I need to press G for it to work)
> Random Wikipedia Article (probably hard) [1]
> Moby Dick (hard) [2]
> Donald Trump’s Speech, South Carolina (incomprehensible) [3]
0: https://zty.pe/?load 1: https://zty.pe/?url=https://en.wikipedia.org/wiki/Special:Ra... 2: https://zty.pe/?text=11e5dad15e3dca9b 3: https://zty.pe/?text=21bb8f1868f879f8