SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-28-2009, 10:38 AM
Martoon Martoon is offline
Sage User
 
Join Date: Oct 2009
Location: St. Cloud, Minnesota (more or less)
Posts: 27
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.
Reply With Quote
  #2  
Old 11-28-2009, 09:27 PM
steven017 steven017 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Japan
Posts: 143
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
Reply With Quote
  #3  
Old 11-30-2009, 12:42 PM
Martoon Martoon is offline
Sage User
 
Join Date: Oct 2009
Location: St. Cloud, Minnesota (more or less)
Posts: 27
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!
Reply With Quote
  #4  
Old 11-30-2009, 06:43 PM
steven017 steven017 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Japan
Posts: 143
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.
Reply With Quote
  #5  
Old 12-01-2009, 09:01 AM
steven017 steven017 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Japan
Posts: 143
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
Attached Files
File Type: txt mouse.txt (2.0 KB, 378 views)

Last edited by steven017; 12-01-2009 at 09:06 AM.
Reply With Quote
  #6  
Old 12-04-2009, 03:08 PM
Martoon Martoon is offline
Sage User
 
Join Date: Oct 2009
Location: St. Cloud, Minnesota (more or less)
Posts: 27
Hey, works great! Thanks!
Reply With Quote
  #7  
Old 12-05-2009, 02:32 AM
steven017 steven017 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Japan
Posts: 143
Cool. Glad to hear it!

Steve
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT -6. The time now is 03:04 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.