View Full Version : Mousing over second monitor for immediate focus.
ajn03001
06-16-2009, 01:04 PM
Hey. I was wondering if there was anything available to do this using 1 computer, 1 account each on two monitors.
Basically, I run each account maximized on 1 screen each. I want to be able to just move my mouse over to any monitor and WITHOUT having to do that one extra CLICK fo bring focus to it to play, so that everything is seemless.
Is there a software that enables me to do this? THIS will save me soooo much money. Like. It will determine whether I use 1 PC (upgrade!) or build a whole another (crappy) one using more power,noise, heat etc.
Please , please help, and thanks for the info!
Tonuss
06-16-2009, 01:06 PM
Windows Vista does this automatically via a setting in the control panel. (Search for "mouse works" in the CP search, if I remember correctly)
The window switch is not instantaneous, it's about 0.5 seconds or so. Not seamless, but it works once you get used to the short delay, and it beats clicking the window for focus, IMO.
For Windows XP I know that there are utilities or power tools. Google something like "Windows XP focus mouseover" and you should find what you are looking for.
ajn03001
06-16-2009, 01:20 PM
Ah, I'll try that. Doesn't Keyclone have something called "auto focus over" option that does something like this? I;m not sure, is that instantaneous?
Hmm, I can't seem to find "mouse works in the vista CP .
Freddie
06-16-2009, 01:53 PM
This feature is part of the operating system. You don't need a third party program for this unless you want to toggle the feature off and on with a hotkey.
To turn this on or off with Windows (in Vista), go to Control Panel : Ease of Access Center : Make the Mouse Easier to Use : Activate a window by hovering over it with the mouse.
If you want to toggle this setting off and on with a hotkey, you can do that with HotkeyNet using its SetActiveWindowTracking command.
Microsoft's name for this feature (in the operating system API) is Active Window Tracking.
MouseWorks is a third-party utility published by Kensington. You don't need it for this.
Freddie
06-16-2009, 02:04 PM
I just tested this under Vista and discovered that in Vista, Microsoft sets the default delay for this feature to a high value. That's why Tonuss is seeing a delay. With XP the delay is set to zero (at least that has been true on every XP system I've tested) so it's faster.
The delay can be changed in Vista (and presumably set to zero) by editing the registry or with a third-party program.
There may also be a way to set the delay with Control Panel but I don't see it there.
keyclone
06-16-2009, 02:06 PM
Doesn't Keyclone have something called "auto focus over" option that does something like this?yes, keyclone has 'focus-follows-mouse' under keyclone/setup/general
http://solidice.com/keyclone/screencaps/kc_v1.9h_alpha_general.jpg
Moorea
06-16-2009, 02:06 PM
What's the registry key path ?
Freddie
06-16-2009, 03:49 PM
I added a new command to HotkeyNet in build 175 so people can set the delay to zero and make this work as fast in Vista as it does in XP. The command is used in a hotkey like this:
<Hotkey F1>
<SetActiveWindowTrackingDelay 0>
<SetActiveWindowTracking on>
The documentation is here:
http://hotkeynet.com/ref/setactivewindowtrackingdelay.html
What's the registry key path ?
I don't know but you can probably find out by googling the API names which are used to change those settings programmatically. They are:
SPI_SETACTIVEWINDOWTRACKING
SPI_SETACTIVEWNDTRKTIMEOUT
Thulos
06-16-2009, 04:18 PM
I added a new command to HotkeyNet in build 175 so people can set the delay to zero and make this work as fast in Vista as it does in XP. The command is used in a hotkey like this:
Freddie, do these commands work in xp as well? Would be nice to send this to both of my computers at the same time to turn it on and off as well as change the delay.
Freddie
06-16-2009, 04:31 PM
Yep they work in XP too. (In XP the delay is already zero by default so you don't have to set it, but it doesn't hurt anything if you set it.)
By the way the operating system has a third setting in this family of features that determines whether the window comes to the foreground or merely receives focus without coming to the foreground. I've never bothered implementing this in HotkeyNet but it could be added easily if anyone wants it.
Tonuss
06-16-2009, 05:05 PM
Ah, I'll try that. Doesn't Keyclone have something called "auto focus over" option that does something like this? I;m not sure, is that instantaneous?
Hmm, I can't seem to find "mouse works in the vista CP .Freddie already answered it, but this is the site (http://www.howtogeek.com/howto/windows-vista/switch-windows-by-hovering-the-mouse-over-a-window-in-windows-vista/) where I had learned to find it. As he said, it's in the ease of access center.
Tonuss
06-16-2009, 05:07 PM
I just tested this under Vista and discovered that in Vista, Microsoft sets the default delay for this feature to a high value. That's why Tonuss is seeing a delay. With XP the delay is set to zero (at least that has been true on every XP system I've tested) so it's faster.
The delay can be changed in Vista (and presumably set to zero) by editing the registry or with a third-party program.
There may also be a way to set the delay with Control Panel but I don't see it there.Ooh! I did not know that. I'll look for that setting and see about lowering it. Thanks!
Freddie
06-16-2009, 05:26 PM
I didn't know it either and I'm kinda amazed that they did this without also putting in a setting for the delay. I can see why they changed the default to a long delay -- it's probably better for most customers -- but it screws up the feature for a big chunk of people -- including everyone here. Well, this is why third-party programs exist.
ajn03001
06-16-2009, 05:31 PM
Hey, AWESOME STUFF! So there was a program, and a built-in setting via vista to auto-focus. however, I'd reallly like it to have no delay or close to none as possible. I wish there would be a setting or a registry thingy to set it like that. Otherwise, I can use HOTKEYNET to make it with zero delay, right? You just saved me a bunch of money and am going to UPGRAADE my E5200 haha, Quadcore time babyy! I already have Keyclone btw :)
skwert
06-16-2009, 05:34 PM
One of the things I loved in Linux was the focus-follows-mouse setup. A while ago, I did some Googling and found the registry entries for it:
HKEY_CURRENT_USER\Control Panel\Desktop\ActiveWndTrkTimeout, DWORD, 400 (decimal)
HKEY_CURRENT_USER\Control Panel\Desktop\UserPreferencesMask, BINARY, D9 3E 07 80 12 00 00 00
That's what I have in mine at least. The timeout is in milliseconds, so 400 is just under half a second. UserPreferencesMask should already be there, just edit the first number to be D9. Reboot and enjoy.
Tonuss
06-16-2009, 05:37 PM
Doesn't Keyclone have something called "auto focus over" option that does something like this?yes, keyclone has 'focus-follows-mouse' under keyclone/setup/general
http://solidice.com/keyclone/screencaps/kc_v1.9h_alpha_general.jpgSooo... how is multiboxing going in World of Wart? :)
I may try this instead, is the focus switch instant?
keyclone
06-16-2009, 06:15 PM
:D wondered if anyone would see that
and yes, the focus switch is instant. just mouse over and click-loot or click-drag to change camera angle. (the first click to activate is not required)
Tonuss
06-16-2009, 07:22 PM
:D wondered if anyone would see that
and yes, the focus switch is instant. just mouse over and click-loot or click-drag to change camera angle. (the first click to activate is not required)Yeah, just tested it. That's perfect, it let's me turn the feature off in Windows, which can be annoying at times. I also just noticed the startup command option to auto-load the windows. Amazing what happens when you pay a bit of attention. :)
Anyway, thanks for that. As if Keyclone wasn't already a terrific program! :thumbup:
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.