I have an iMac running OS 10.4.2. It used to have a wired mouse, but it doesn't work any more. I have a Magic Mouse (the kind that takes AA batteries) that was paired with another Mac before. I'd like to pair it with this one.

I can use CMD+space to open system preferences and see that the mouse is discovered. However I can't figure out how to access the pair button with the keyboard.

I've tried CTRL+F7 to change the way tabs move focus. That still doesn't let me focus the pair button.

screenshot identifying the pair button

  • Can you send a screenshot of what the window looks like exactly? I could help you from there. Jun 18, 2017 at 16:56
  • Take a screenshot, open a brower, navigate to this question, edit the question, and find and upload the screenshot -- without a mouse? Gimme a few minutes. :) Jun 18, 2017 at 17:01
  • Is this just the normal bluetooth pair that you're trying to access? Jun 18, 2017 at 17:01
  • @William Added a screenshot. Had to use a different computer because I can't log in to Stack Exchange via Google with the keyboard. :) Jun 18, 2017 at 17:06
  • ah, gotcha. One sec. Jun 18, 2017 at 17:07

4 Answers 4


Found a solution.

  1. CMD+SPACE to open spotlight search.
  2. Enter "mouse" and select the "Mouse" system preferences panel (probably the first item that comes up).
  3. CTRL+F7 (or CTRL+Fn+F7) to change the way the tabs move focus.
  4. TAB until "Set up Bluetooth device" is in focus.
  5. SPACE to press the button.
  6. Turn the mouse off and back on to put it pairing mode.
  7. The mouse should come up in the list of devices. TAB to focus it, then space to pair.

Normally, by the time you get to step 2, OS X will automatically attempt to locate your mouse. In this case, the computer was already paired with some other mouse (which I can't find) so it didn't do that.

  • 3
    Does not work in MacOS Monterey (12.0.1) anymore: The press of "SPACE" key does not do anything anymore. Is there another solution? Or is this a bug? Worked with BigSur at my MacMini, does not work after the update anymore. Nov 17, 2021 at 10:43
  • 1
    Yes, use this answer apple.stackexchange.com/a/449798/477274 Feb 28, 2023 at 8:16

Patrick solution won't work on Monterey. But if you enable full keyboard access then you will be able to use SPACE to connect to the selected device in the Bluetooth window. To turn on the Full Keyboard Access you need to press Option + Command + F5. Then you can follow the steps provided by Patrick to open the Bluetooth window and select the device + SPACE to connect.

  • thanks, enabling Full Keyboard Access worked.
    – manit
    Feb 27, 2023 at 3:24
  • Worked for me, that was a fun challenge Jun 21, 2023 at 17:53

Just found out the easiest way.

If you have a Magic Mouse 2 or later, simply connect it to your Mac using a lightning cable. Apple will recognize it and connect the mouse via Bluetooth automatically.


Another option which should work, if you want to access this straight from the Bluetooth menu, is to run this AppleScript. It'll iterate through each device in the Bluetooth window, until it comes across one named "Patrick's mouse (home)", which is the one you want to pair, in this case. It'll then click the "Pair" button:

tell application "System Events" to tell application process "System Preferences" to tell table 1 of scroll area 1 of window 1
    repeat with currentRow in rows
        tell UI element 1 of currentRow
            if exists (static text "Patrick's mouse (home)") then
                click button "Pair"
            end if
        end tell
    end repeat
end tell

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .