I would like to be able to sleep while Models are running for much of the night in ArcGIS for Desktop .
I would like to have ArcGIS for Desktop play a sound when it finishes, to awaken me.
Is this possible?
I really like Aarons answer, but something more simple and local:
using the subprocess module cause windows media player to open a file..
Of course the sample music is more likely to put you to sleep so something more like my alarm clock tone might be more suitable.
But of course that's so simple you could do both, just tack that onto the end of Aarons' code.
How about e-mailing yourself when the model is finished? Make sure to set your phone to give you a tone when you receive the e-mail sent via the attached Python script. This is designed to be run as a script tool in ModelBuilder. If you are not familiar working with script tools, follow these instructions. Please not that this is configured to work with gmail. The tool is designed to work as follows (note the precondition attaching the bufferedPoints variable and the sendEmail script tool):
Instructions for creating the script tool:
Create the script
Create the script tool