I want to record my screen, as explained here, and during the recording to move the mouse from point (x1,y1) on the screen to point (x2,y2), in a straight line, with some specified speed.

The software I want to record is not Mathematica, but some other software installed on my computer, for the purpose of instructing others how to use it.

If possible, I also want to type some text programmatically, in a "non-human" way of typing quickly without stops, without fixing typos etc.

Is it possible to do the mouse movement and the typing with Mathematica?

Or should I resort to Automator etc. in order to simulate the instructions?

  • $\begingroup$ Have you tried Robot through JLink? $\endgroup$
    – Silvia
    Commented Jul 8, 2022 at 10:31
  • $\begingroup$ Never heard of it. Looks too complicated for me.. I think I will just use macOS automator.. Is there a WL function that makes a call to automator? I want to make a mouse movement and some keyboard strokes right after I start recording my screen $\endgroup$
    – tush
    Commented Jul 8, 2022 at 10:37
  • $\begingroup$ Sorry... Unfortunately I never touched a Mac nor do I have any knowledge on that. $\endgroup$
    – Silvia
    Commented Jul 8, 2022 at 20:18


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.