mouse button states anywhere


I need to get mouse button states anywhere in the desktop.

"on mousePoint clickno do": Only works as scripted tools in viewports.

"mouse.buttonStates": Only works in a rollout pannel.

and theres nothing more about it in maxscript.
But, I founded some dotnet scripts, from paulneil in
and there are clauses at respect. The problem here, is that clauses works only in a Dotnet form... not in the desktop. I still think that Dotnet is the solution, but HOW exactly? Im begginer in Dotnet scripting, I only need a "hello world" when a mouse event occurs anywhere.