1

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. – William T Froggard Jun 18 '17 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. :) – Patrick McElhaney Jun 18 '17 at 17:01
  • Is this just the normal bluetooth pair that you're trying to access? – William T Froggard Jun 18 '17 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. :) – Patrick McElhaney Jun 18 '17 at 17:06
  • ah, gotcha. One sec. – William T Froggard Jun 18 '17 at 17:07
3

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.

0

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 .