doti wrote:
I think it's possible, but hard.
You'll have to use some classes like
java.awt.KeyEventDispatcher, so won't work in Android (anyway in Android with a virtual keyboard I don't think it'll be usable).
Possibly something like
http://stackoverflow.com/a/7082258.
Thanks for the reply, and I'm pleasantly surprised to see it could be *possible* (if difficult). I'll have to see if I (or maybe someone who's a better coder than me!) can get it working sometime, even if now just to prove it can work!
Since I don't use Android, thankfully that's not really a concern for me; none of my scripts are Android-tested anyway.