A Scala shell script to move your mouse cursor
By Alvin Alexander. Last updated: November 18 2017
I’m currently trying to automate a GUI task, and as a part of that, one thing I need to do is move the mouse cursor.
In short, the solution I came up with was to write a Scala shell script that uses the Java Robot
class to move the mouse. Here’s the source code for my script, which I named MoveMouse.sh: