I can't move the mouse after installing Windows 7

16
2013-10
  • Questioner

    I can't move the mouse, even though it was working in the Windows 7 setup process. I'm using a Toshiba Satellite P-305-S8820. What should I do?

  • Answers
  • Matt Ball

    Is the mouse plugged in? Turned on? Do you need to install mouse drivers?


  • Related Question

    Software to move mouse to centre of newly focused window
  • LachlanG

    With the 4 monitor setup that I use one of the pitfalls is that I spend a lot of time moving the mouse cursor across 2 or more screens at a time.

    I would like a piece of software for WinXP that when a window receives the focus, if the mouse is not already within that window, moves the mouse to the centre of that window.

    Any ideas?


  • Related Answers
  • Ivo Flipse

    Edit: an easier method!

    AltTab

    (For Windows XP and Vista)

    AltTab is a compiled AutoHotKey script that just moves the mouse near the origin of the active window when you use the AltTab hotkey combination in Windows to bring another window to the forefront


    The hard way:

    Use AutoHotKey to move the mouse to the center on Alt+Tab:

    ~!Tab::
    KeyWait, Alt
    KeyWait, Tab
    WinGetPos, X, Y, width, height, A
    center_x:=x+width/2
    center_y:=y+height/2
    MouseMove,center_x,center_y,
    return
    

    There you go Tiago ;-)

  • kb8u

    The AutoHotKey script above didn't work for me, I had to make some minor changes. MouseMove is relative to the current window position, not the screen position. It also would not always move the mouse to the window if it was minimized. I added a Sleep statement to work around that.

    ~!Tab::
    KeyWait, Alt
    KeyWait, Tab
    Sleep 300
    WinGetPos,,, width, height,A
    center_x:=width/2
    center_y:=height/2
    MouseMove,center_x,center_y
    return
    
  • Diago

    The only software setting I am aware of is in the Microsoft IntelliMouse software which allows you to do a Snap to Default Button. This however only works for dialog boxes.

    I did however find this registry hack, however I haven't tried it myself.

    • Start
    • Run
    • Regedit
    • Make Changes
    • Exit RegEdit
    • Reboot
    Registry Key: HKEY_CURRENT_USER\Control Panel\Mouse
    Data Type: REG_DWORD [Dword Value] 
    Value Name: ActiveWindowTracking
    Setting for Value Data: 
    [0 = ActiveWindowTracking Disabled]
    [1 = ActiveWindowTracking Enabled]
    

    Alternatively you can also have a look at using AutoHotKey. It might have a way to map this from some forum entries I have read.

  • akavel

    I let myself decompile the @IvoFlipse's AltTab.zip script, and then tweak it a bit to move the mouse to the center of the window, here's the result:

    ; After Alt-Tab, move mouse to center of newly activated window.
    ;  http://superuser.com/questions/14868/software-to-move-mouse-to-centre-of
    ;  - updated based on http://www.favessoft.com/AltTab.zip;
    ;  - modified to try to move to center of window.
    ~!Tab::
    KeyWait, Alt
    KeyWait, Tab
    WinGetPos,x,y,width,height,A
    While (x < 0 Or y < 0)
    {
        Sleep,100
        WinGetPos,x,y,width,height,A
        IfGreater,A_Index,2,Break
    }
    MouseMove,width/2,height/2
    return
    
  • user51501

    It does not work with two screens attached. It seems that the script thinks the window on screen #2 is on screen #1 and move the screen to the right position but on the wrong screen.