I have a somewhat long computation running in the background. I would like the Mathematica icon on the taskbar to flash once the computation is done. For example, Microsoft Outlook reminders make the taskbar flash:
How can I achieve the same effect in Mathematica? Is there a Mathematica command that makes the Mathematica icon in the taskbar flash?
What I've tried: Beep[]
can be useful, but if you leave the computer for a while, you can miss the beep. The advantage of flashing is that it remains flashing indefinitely. Another alternative is MessageDialog[]
, but you have no way of knowing that a message is up if Mathematica is minimized. It would be useful if MessageDialog[]
produced the flashing in the taskbar, but that doesn't happen.
Update: Opening a SystemDialogInput
is a hammer type of solution, although it gets the job done. I am reopening this question in case someone else comes up with something more subtle. The goal is to have some sort of alert that doesn't stop (like a beep would), so that if I leave the computer, when I return I could instantly see if the computation is done.
By the way, I am on Linux Mint, in case someone wants to get really low level :)
Beep[]
at the end of code if it will take long time to compute. $\endgroup$Beep[]
is that if you leave the computer for a while and return, and you can miss the beep. The icon flashing remains flashing indefinitely. $\endgroup$SystemDialogInput["FileSave"]
makes the Dock icon bounce. Perhaps under Windows it will flash the Taskbar icon? $\endgroup$