This script competes the Criminal Records race fully automatically. I included an .ahk file as well, this is so you can edit the script. To use the .ahk file you need to have AutoHotkey installed. If you don't want to edit the file and just want to use it, you can delete the .ahk and just use the .exe.
To use the script, simply open the .exe (or .ahk). It will run in the background. The gta file will wait 4 minutes each race, and the business file will wait 8 minutes each race.
To stop the script, open you systemtray and rightclick the green H or Press F4.
Open the Criminal Records race.
Set number of laps to 2.
Confirm Settings.
Set Matchmaking to closed.
Continue until race start.
Wait at least 25 seconds and press F1.
The game will continue to run the race over again once complete.
F1: Starts the race loop
F4: Kill the ahk program.