find the mouse cursor?


Gary998812

Member
Local time
11:23 AM
Posts
19
Visit site
OS
Windows 11 Pro
I have a setup with 3 UHD monitors, 2 of which are usually turned off. Finding the mouse cursor can be tricky, even with the ctl-key mouse-circling hack enabled, especially if the cursor is over on one of the turned-off monitors. Is there a quick way to force the cursor to jump to the center of the primary display?
 

My Computer

System One

  • OS
    Windows 11 Pro

Wisewiz

Speaks Ancient Geek
Power User
VIP
Local time
11:23 AM
Posts
1,394
Location
Ontario, Canada
Visit site
OS
11 Pro 22H2 (22621.1413)
Gary, Hi!

Are you familiar with Nir Sofer's nircmd.exe? Sofer has a setcursor line that (I think) does what you want: it'll pull the mouse cursor to the position on your main screen that you specify with the X and Y numbers.

setcursor [X] [Y]​

Set the position of mouse cursor. The [X] and [Y] parameters specify the desired cursor position.
Example:
setcursor 100 50

nirsoft.net is the site.
 

My Computers

System One System Two

  • OS
    11 Pro 22H2 (22621.1413)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80MHz
    Motherboard
    Lenovo
    Memory
    16GB DDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    2 x Samsung 870 EVO SSD
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for satellite!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • Operating System
    11 Pro 22H2 1485
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M910S SFF
    CPU
    i7-7700 @ 3.60MHz
    Motherboard
    Lenovo
    Memory
    16GB DDR4 @ 2400MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    2 x Samsung 870 EVO SSD
    Mouse
    LogiTech M510 wireless
    Keyboard
    Microsoft 600 wired
    Internet Speed
    Fast (for satellite!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender

Wisewiz

Speaks Ancient Geek
Power User
VIP
Local time
11:23 AM
Posts
1,394
Location
Ontario, Canada
Visit site
OS
11 Pro 22H2 (22621.1413)
JIC you can't find it (the site is a challenge at the best if times), here's the page for nircmd.exe, and the download link is waaaaay down at the bottom of the p[age.


I'd just write a Notepad file with the path to the exe and the word setcursor and two numbers, and save that as filename.bat.
Double-click it and see where the cursor goes, then adjust your parameters.

If you need help, come on down back.
 

My Computers

System One System Two

  • OS
    11 Pro 22H2 (22621.1413)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80MHz
    Motherboard
    Lenovo
    Memory
    16GB DDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    2 x Samsung 870 EVO SSD
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for satellite!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • Operating System
    11 Pro 22H2 1485
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M910S SFF
    CPU
    i7-7700 @ 3.60MHz
    Motherboard
    Lenovo
    Memory
    16GB DDR4 @ 2400MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    2 x Samsung 870 EVO SSD
    Mouse
    LogiTech M510 wireless
    Keyboard
    Microsoft 600 wired
    Internet Speed
    Fast (for satellite!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender

Wisewiz

Speaks Ancient Geek
Power User
VIP
Local time
11:23 AM
Posts
1,394
Location
Ontario, Canada
Visit site
OS
11 Pro 22H2 (22621.1413)
I got it working with this text:

@echo off
D:\AATemp\nircmd.exe setcursor 500 500
exit

Where my nircmd.exe is located in D:\AATemp, obviously.
Saved that text as Cursor.bat.
Made a shortcut to Cursor.bat, and set a custom "shortcut key" to Ctrl+Alt+downarrow in that shortcut.

Then when I want to put the cursor (wherever it may be) in that 500x500 position, I just have to hit the hotkey combination.

Should work for you.

The minor complication is that (of course) unless you set a hotkey combination, you'd have to find the cursor with your mouse and move it to the shortcut to launch the bat file. With the hotkey combo, it should just work.

Dan
 

My Computers

System One System Two

  • OS
    11 Pro 22H2 (22621.1413)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80MHz
    Motherboard
    Lenovo
    Memory
    16GB DDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    2 x Samsung 870 EVO SSD
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for satellite!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • Operating System
    11 Pro 22H2 1485
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M910S SFF
    CPU
    i7-7700 @ 3.60MHz
    Motherboard
    Lenovo
    Memory
    16GB DDR4 @ 2400MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    2 x Samsung 870 EVO SSD
    Mouse
    LogiTech M510 wireless
    Keyboard
    Microsoft 600 wired
    Internet Speed
    Fast (for satellite!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender

Wisewiz

Speaks Ancient Geek
Power User
VIP
Local time
11:23 AM
Posts
1,394
Location
Ontario, Canada
Visit site
OS
11 Pro 22H2 (22621.1413)
Welcome. If you hit any snags, just post.
 

My Computers

System One System Two

  • OS
    11 Pro 22H2 (22621.1413)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80MHz
    Motherboard
    Lenovo
    Memory
    16GB DDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    2 x Samsung 870 EVO SSD
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for satellite!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • Operating System
    11 Pro 22H2 1485
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M910S SFF
    CPU
    i7-7700 @ 3.60MHz
    Motherboard
    Lenovo
    Memory
    16GB DDR4 @ 2400MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    2 x Samsung 870 EVO SSD
    Mouse
    LogiTech M510 wireless
    Keyboard
    Microsoft 600 wired
    Internet Speed
    Fast (for satellite!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender

Latest Tutorials

Latest Support Threads

Top Bottom