You can control My Screen Recorder Pro from the command line. You can start, stop, and pause screen recording using command line parameters. In addition, you can also set the recording duration, recording region, filename using parameters.
For more information on command line parameters see this link:
https://www.deskshare.com/help/msrpro/CommandLineParameters.aspx