How to get mouse coords across the whole monitor setup

Just starting out? Need help? Post your questions and find answers here.
SniffTheGlove
Enthusiast
Enthusiast
Posts: 122
Joined: Sat Nov 19, 2011 6:51 pm

How to get mouse coords across the whole monitor setup

Post by SniffTheGlove »

Hi, How to get mouse coords across the whole monitor setup without having an open window or screen?? It just does not seem possible to use the mouse functions without enabling sprites or opened windows.

Example of what I have been trying to achieve.

A PB application to reside in the Taskbar. This application will keep track of the mouse position across my 3 monitors whatever application is running or moving the mouse.
Is this possible with PB?
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: How to get mouse coords across the whole monitor setup

Post by kenmo »

Code: Select all

DesktopMouseX()
DesktopMouseY()
SniffTheGlove
Enthusiast
Enthusiast
Posts: 122
Joined: Sat Nov 19, 2011 6:51 pm

Re: How to get mouse coords across the whole monitor setup

Post by SniffTheGlove »

kenmo wrote:

Code: Select all

DesktopMouseX()
DesktopMouseY()
Thanks, I have spent ages trying all the mouse stuff and never knew this Desktop Enviroment. Thanks
Post Reply