Have fun! I'm sure you will find plenty of room for improvement. And thanks for the encouragement.Lobster wrote: I will be studying the code ...
I'm glad to hear that you like and actually use the script.Leon wrote:From my experience with using MMview there is only one and only issue left to be solved to use it as default viewer and this is:
How to click a file name in Rox and pass it to MMview to open it?
Is there a trick to do that?
I don't quite agree that there is only one issue left
What you describe is not possible with the chooser widget. To be more precise: It would be possible to pass a filename to MMview and show the file content in the viewer, but it would not be possible to select the corresponding filename in the file list programmatically (a limitation of the chooser widget) . This would lead to an irritating status where the viewer content is not the content of the highlighted file in the list. If you are interested in such odd behavior I can provide the code but I don't think that I should implement it. It surely will be perceived as a bug.
My best advise is to keep MMview open and drag the filename from ROX-Filer to the MMview file list. This is the only way to have the chooser widget select a specific file (apart from manual selection). This also changes automatically to the relevant directory. I find this method pretty neat. Too bad that there is no other way to do that.