Bot Newb trying to automate Sports bets

I use a site call RebelBetting, they provide value bets from multiple sportsbooks. I am trying to find a way to automate the bets that are provided. So far the best way I found was by using Mouse recorder Pro. Here is an exemple :

I just have to find a way to stop the script when there is no more bets available and start it when a bet is added.

There are probably betters ways to do this any help would be appreciated!