Einleitung
This handy shortcut will allow you to pair your AirPods in just one click, rather than going to Bluetooth>YourAirPodsNameHere>Connect. In the long run it could save you up to 18 min each year!
-
-
Open AppleScript or Script Editor, whichever comes up for you.
-
Go to Finder > Applications > Utilities > Script Editor/AppleScript
-
-
-
At the popup for Script Editor click New Document at the bottom left corner. Then Copy and Paste the code into Script Editor/AppleScript that I have provided down below in the link.
-
-
-
Next, we have to configure the Script. First, have a look at my image and select the group of text I circled. Replace that text with the name of your AirPods. Keep the quotation marks around the name or the Script will not function.
-
For example, my AirPods are named "Jet the Hawk".
-
-
-
Now press Command + S at the same time to save the file. Name it Connect to AirPods and save it in Application file format. Save it to your desktop.
-
-
-
Go to System Preferences > Security & Privacy > Accessibility > Privacy
-
Click the lock and enter your admin username and password.
-
Check the box to the left of Connect to AirPods
-
-
-
Find a good image to use as your App icon, preferably a .png icon.
-
Now, open Image2Icon and drag and drop the image you want as the icon into the Image2Icon window.
-
Drag the Connect to AirPods Application into the Image2Icon window
-
Enjoy your new shortcut!
2 Kommentare
Thanks for this guide Aaron! After setting up Siri Shortcuts to do this on my iOS devices, I really wanted something comparable on my Mac and this worked perfectly. Referring to Step 3, I really wanted to keep that apostrophe so after some fiddling around, I realized that the apostrophe in the name generated by default for my AirPods was different than the one I was writing in the script. The default name includes a ‘ while in the script editor my keyboard was typing out a '. If you look closely they are different characters with ASCII codes 8216 and 39 respectively. I simply renamed my AirPods in Bluetooth Preferences to match what was in my script and it worked like a charm! Hopefully this works for anybody else who tries this and wants to keep their apostrophe.
Thank you! It works perfectly. One question: Siri won’t open this App, instead gives error: “I can’t do that”. I put this app into Applications.