I tried the code below on Linux Mint 17.1 Cinnamon. You will need a Form with
a Timer added. It only tracks the mouse position but I was able to open
Terminal, Calculator and other programs and even if Gambas did not have
focus the position of the mouse was still being Printed to the Gambas
Terminal.

Public Sub Form_Open()

Timer1.enabled = True
Timer1.delay = 1

End

Public Sub Timer1_Timer()
Dim sX, sY As Integer

sX = Mouse.ScreenX
sY = Mouse.ScreenY

Print sX, "  ", sY
End 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Buffer-Monitoring-tp51401p51455.html
Sent from the gambas-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to