MasterBeakers suggestion can be implemented as a rightclick option in the popup. That should be doable without too much headache.
[EDIT:] Associating specifically with a media loading functions, seems a bad idea, because a medianame could be anywhere in the code ,like here:
[EDIT:] Associating specifically with a media loading functions, seems a bad idea, because a medianame could be anywhere in the code ,like here:
MyFunc "C:\picture.jpg" Function MyFunc(fname$) Return LoadImage(fname$) End function'