Milito22
You often run do files/computations that might take a while to be done, but they are not so long (e.g. you are not done with your day and have not left the office). Maybe you keep working at the desk but on something else, or you start doing house tasks (ah, pandemic lockdowns!). If that is the case, you do not need to keep looking at the Stata output to check when it is done doing computations. This simple (and fun) package, milito22, solves this "very important" issue.
What does it do? When the computations are done and Stata reaches the line with the command milito22 (no options needed), Stata will open a software of your choice (e.g. wmplayer) and play a file of your choice (e.g. an mp3 file). You simply have to adjust two parts of one line in the ado file (you find it further down):
!"C:\Program Files\Windows Media Player\wmplayer" "C:\Users\luca_\Documents\Stata 14\ado\personal\gol_di_milito.mp3"
Adjust the path of the software and the name of the software; adjust the path to the file that the software will open. You can change also the number of times this file will be played in a loop and the time from one repeat to the next one (the ado file contains brief comments on that).
Note: 22 does not stand for the version of the ado, it stands for the jersey number of Diego Milito in FC International Milan.
Ado file
[PS1: If, like me, you are a supporter of FC International Milan, you can download here the mp3 with the Italian commentary of Diego Milito's goal against Bayern Munich (Champions League final, 2010)]
[PPS: if, differently from me, you are not an FC Inter supporter, you can change the name of the package too]