Finally, my right-click bug is solved with windows repair disk utility and was not due to *.xnrx files.
Kazakore, thanks for the script example.
The file has not been corrected: I removed the extra parenthesis and now it works, if I may post it (cf attachment).
However, it seems that I can’t get to make it work properly, or only partially.
I assigned shortcuts to the four functions:
-Set Loop Start
-Set Loop End
If I correcly understood, it is a four steps action:
-clicking on first line then “Set Loop Start”
-clicking on end line then “Set Loop End”
-Then “Loop Selection”
However, it does not seem to function correctly this way. And also, “Clear Loop” makes everything kind of “selected”.
My guess is that if one could only select the first line and the end line, then just triggering the play along that selection with a shortcut, it would be very handy.
Also, one could imagine the ability to choose either if it plays all tracks, or only the selected pattern column.
I might look further into this, once I start to know a little bit more about Lua, I think.
Thanks for all the great help.