Track mouse click from PowerShell
Posted on 2010-08-24
I am able to track mouse X and Y coords within PowerShell by using the [System.Windows.Forms.Cursor]::Position assembely. This can track X and Y coords outside of the PowerShell session.
Is there anyway to track the mouse click event, regardless of what is being clicked? Ultimately I am looking to track X & Y at time of mouse click anywhere in the OS.
Thank you for any info.