2

I have a Bluetooth mouse which I generally like a lot. However, when I use it with Windows, the mouse will sometimes take an extremely long time (think upwards of two minutes) to wake up after being left idle.

When this happens, I've found that the quickest way to get my mouse working is actually to remove the mouse from my Bluetooth devices completely, put the mouse in pairing mode, and pair it again. (Windows Key, type "Bluetooth", enter, tab tab tab tab, enter, enter, put the mouse into pairing mode, down, enter, tab, enter). This actually takes much less time then waiting for my mouse to wake up the normal way, but the sequence of keystrokes required is somewhat ridiculous.

Is there any way that I could use a single keyboard command to remove and re-pair the mouse? Perhaps I could assign a key to run a powershell script, for example.

I know that the best thing to do would be to find and fix the root cause of the problem--why does the mouse take so long to wake up in the first place--but I've tried that and I've given up. Thanks a lot!

  • A keyboard command, no, there isn't one. – Ramhound Oct 6 '15 at 17:27
  • I was thinking I could have it run a script or something though. If I was in OS X, I would use bash or (more likely) applescript for something like this. – Wowfunhappy Oct 6 '15 at 17:29
0

You could install Autohotkey and record a macro for it. Not the most elegant solution, but it should do the trick.

Another, and perhaps more interesting, way could be to install the Bluetooth command line tools. Then use the new syntax in a script.

Note: The BD address in BR/EDR is static, so once you have the address of the mouse you can hard code it to your script.

  • Not sure why I didn't think of autohotkey, it works perfectly. Thanks you! – Wowfunhappy Nov 6 '15 at 17:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.