Event Logger
Version 2.7
- MediaMonkey Add-on -

by Zvezdan Dimitrijević

This add-on works with MediaMonkey v2.x-4.x. It allows logging of many MM events: OnPlay, OnStop, OnPause, OnSeek, OnTrackEnd, OnTrackSkipped, OnTrackProperties, OnTrackAdded, OnTrackDeleting, OnTrackConverted, OnBeforeTracksMove, OnStartUp, OnShutdown... The next data are stored in the log file: date/time, computer/user name, name of the event and track name. The location of the log file could be specified in the Options dialog box. The log file is saved in CSV format, so it could be imported e.g. in Excel. The events could be also displayed in real-time with the Event Viewer dockable panel.

If you want to discus about this add-on, you could visit its related MediaMonkey forum thread. If you are using some skin which is not supported by default, you could take a look of skin styles for this add-on made by nynaevelan at the next forum thread.

You could also take a look on my other add-ons for MediaMonkey.


This add-on is donationware. I am its sole developer and I worked on it in my own free time. I am not employed by Ventis Media, the company behind MediaMonkey, nor have I been paid by them for my efforts. If you find my add-on useful and want to help its further development, it would be nice if you could send a small donation using PayPal. You could donate as much as you think that is appropriate, any amount would be really appreciated.

Euro (EUR) US Dollar (USD)


This add-on doesn't work with MediaMonkey v5! No add-on made for a previous version of the program will work with MM5, either by me or any other author, since MM5 has completely different programming interface than before. If you really like my add-on and think that it is essential for your work with the program, you should stay with MM4.

What is new

v2.7 - 2016-11-29

v2.6 - 2015-10-15

v2.5 - 2015-06-20

v2.4.1 - 2012-02-06

v2.4 - 2012-02-04

v2.3 - 2011-06-22

v2.2.1 - 2009-06-27

v2.2 - 2009-05-13

v2.1 - 2009-03-04

v2.0 - 2009-03-01

v1.1.2 - 2009-02-07

v1.1.1 - 2009-02-06

v1.1 - 2009-02-06

v1.0 - 2009-02-05



Choose View | Event Viewer to show/hide dockable panel. The add-on settings are in the Tools | Options dialog box within the Event Logger sheet (turning on/off of events works immediately after the confirmation only with MM or higher).


The script developers could use this add-on to display some text from their code by placing few additional lines of code on the appropriate places in the script. The scripters could use MsgBox or SDB.MessageBox instead, but they will halt the execution of the script which is not always desirable. However, Event Logger and/or Event Viewer would log/display such messages without any break of the execution.


Here is what you should do if you want to use Event Viewer to display messages from your script:
- install Event Logger add-on;
- add the line Script.Include "Auto\EventLogger.vbs to your code, e.g. on its begin or end;
- add the line ViewEvent "some_text_e_g_script_name", "actual_text_e_g_some_variable" anywhere where you want to get the displayed message (for example, I could put ViewEvent "Magic Nodes", SDB.MainTree.CurrentNode.Caption in the OnChangedSelection event handler of my script);
- restart the program or use Script.Reload.

If you want to log messages, i.e. to get messages saved to the log file, you should use the LogEvent "abc", "xyz" syntax instead.


This add-on is a false positive reported as a worm by F-Secure. The author of F-Secure promised me that will update its database and put the add-on on white-list, but still didn't. If you go to the www.virustotal.com/en/ site, you will see that it is safe tested by 54 popular anti-virus engines; the only one reporting a worm in it is F-Secure.