Some years ago I started using VBA (Visual Basic for Applications, included in many office suites for windows) to to automatic tasks where I previously used qbasic or command-line scripts. Here you'll see some of them: