![]() |
|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Constraining mouse pointer to primary display with Dualview?
I run SageTV on a secondary display using Dualview (it's an Nvidia card). The primary display is my main desktop monitor.
I never need to move the mouse pointer to the secondary display running SageTV. It's annoying when I'm using my desktop and move my mouse pointer past the edge of the screen having it disappear to the secondary display. Does anyone know if there's a way to keep the mouse pointer constrained to the primary display? This is on WinXP, btw. |
#2
|
|||
|
|||
I'm not sure if this will suit your needs, but there is an autohotkey script that might suit your needs. It might work.
You'd have to customize it so that the coordinates are correct. The script uses the ClipCursor function built into Windows. Here's a link to some info about ClipCursor: http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx. Here's a link to the forum topic about the script I'm referring to: http://www.autohotkey.com/forum/post-141037.html#141037. I did a quick test of the script, and it does constrain the cursor to a certain area of the screen. So, it would seem you would just have to change the coordinates in the script to constrain it to one monitor. The script is persistent, so it will continue to function until you either close it from the system tray or shut down your PC. Hope it helps. Steve |
#3
|
|||
|
|||
I tried the AHK script. It works until I click a window (changing focus), then it stops constraining the mouse. That issue is discussed in the thread you linked, but there doesn't seem to be a resolution (the improved version posted that hooks on the shell does the same thing for me).
Thanks for the pointer, though! |
#4
|
|||
|
|||
Too bad. It seems to work for me, even if I click around in different windows. The only time it stops working for me is if I right click a task bar icon and then click 'move'. Then, it stops working until I click the desktop--then it starts to work again. I am, by the way, using the improved script from post 7 in that thread.
|
#5
|
|||
|
|||
Okay, so I was thinking about this again. That script works OK, but sometimes the cursor gets through.
How about something simpler? I'm thinking you could just use a script that automatically moves your mouse back onto your screen whenever it passes a set X coordinate. For example, if your monitor is 1920 pixels wide, you could set it to say x1918. Then, when your mouse passes that, it automatically jumps back to x1918. It wouldn't be perfect. In my testing, there was a very slight delay (fraction of a second) in detection, but the mouse always returned to the x coordinate I set. Maybe something like that would work? I attached a very basic autohotkey script (as a .txt file) that does just that. If it would be suitable, you could just change the BlockPosition to a value that works for you. The script also includes a hotkey to close it (Ctrl+Alt+Shft+F2). Hope it helps Steve Last edited by steven017; 12-01-2009 at 09:06 AM. |
#6
|
|||
|
|||
Hey, works great! Thanks!
|
#7
|
|||
|
|||
Cool. Glad to hear it!
Steve |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mouse Cursor Pointer Hiding | karljayne | SageTV Mac Edition | 0 | 02-16-2009 04:19 PM |
Any issues with running SageTV on non-primary display? | korben_dallas | Hardware Support | 1 | 03-11-2007 04:38 PM |
Mouse Pointer Keeps Appearing - Fix in V3? | geogecko | SageTV Beta Test Software | 9 | 08-18-2005 12:11 PM |
mouse pointer / curser hider solution | inertia | SageTV Customizations | 1 | 02-06-2005 01:26 PM |
Disable Mouse pointer from showing up | LogDog | SageTV Beta Test Software | 7 | 02-23-2004 12:49 PM |