Is there a way to hide the mouse cursor? When I play PDVD it shows the mouse pointer every time you execute a command. I'd like to hide it when PDVD is running.
Can I do this?
thanks,
dave
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
How to hide the mouse?
Re: How to hide the mouse?
I dunno how to hide it but you might try moving to absolute 0,0 which should have it off screen.
Windows XP Pro sp3 - Several Machines usually latest beta but who knows.
Inputs: TCP / IR (USBUIRT) / RF(X10 Remote) / CLI-Batch / CCTV Motion / Ocelot
Outputs: TCP / IR (USBUIRT) / SageTV / SageTV Clients / YAC CallerID / HAL v3.7.3 / Ocelot
Inputs: TCP / IR (USBUIRT) / RF(X10 Remote) / CLI-Batch / CCTV Motion / Ocelot
Outputs: TCP / IR (USBUIRT) / SageTV / SageTV Clients / YAC CallerID / HAL v3.7.3 / Ocelot
Re: How to hide the mouse?
Well actually 0,0 is the upper left corner but if your using a resolution of 1900x1280 for example then 0,1280 or 1900x1280 are probably better choices (absolute bottom left or right pixel)
-
jsonnabend
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: How to hide the mouse?
That's a good tip. Thanks for that.
Now, how about a companion macro to center the mouse on the screen? That should be very easy, but we need to know the screen resolution to calculate the center. Is there any way to get that info?
- Jeff
[edit]
Ok, nevermind, here's a quick and dirty script:
[/edit]
Now, how about a companion macro to center the mouse on the screen? That should be very easy, but we need to know the screen resolution to calculate the center. Is there any way to get that info?
- Jeff
[edit]
Ok, nevermind, here's a quick and dirty script:
Code: Select all
from win32api import GetSystemMetrics
width = GetSystemMetrics (0)
height =GetSystemMetrics (1)
print "resolution " + str(width) + " x " + str(height)
eg.plugins.Mouse.MoveAbsolute(int(width/2), int(height/2))