How to receive visual notifications on screen during long computation even when Mathematica is minimized? Question is similar to this: How to make the Mathematica icon flash in the taskbar?.

MessageDialog[] (or anything similar) would be great but I don't know how to force it to appear on screen when Mathematica is minimized. Solution would be if with some command Mathematica could be automaticaly maximized but I couldn't find how to do it neither.

Alternatives: Beep[] is not an option for me because I keep sound turned off, besides I could easily miss the beep when I leave computer for a moment. SendMail[] overall is an option. In fact, it works very well for me when I'm not at home. But when I'm sitting at my computer I want to receive instant message on screen.

I'm using Mathematica 9 on Windows.


1 Answer 1


Actually MessageDialogdoes appear even if Mathematica is minimized.

Other MS Windows only solutions:

Alert[S_String] := Module[
  {filename = FileNameJoin[{$TemporaryDirectory, "MmaAlert.vbs"}]},
    StringJoin["msgbox \"", S, "\", 0, \"Message from Mathematica\""],

Alert["Time for tea"]

or simply

Alert2[S_String] := Run["cmd /C msg * " <> S]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.