Difficulty

Easy

Steps

7

Time Required

                          7 - 10 minutes            

Sections

1

  • Create a Shortcut Application for pairing your AirPods
  • 7 steps

Flags

Member-Contributed Guide

An awesome member of our community made this guide. It is not managed by iFixit staff.

  • BackAirPods

  • Full Screen

  • Options

  • History

  • Save to Favorites

  • Download PDF

  • Edit

  • Translate

  • Get Shareable Link

  • Embed This Guide

  • Notify Me of Changes

  • Stop Notifications

Introduction

Step 1

              AppleScript or Script Editor               
  • Open AppleScript or Script Editor, whichever comes up for you.
  • Go to Finder > Applications > Utilities > Script Editor/AppleScript

Open AppleScript or Script Editor, whichever comes up for you.

Go to Finder > Applications > Utilities > Script Editor/AppleScript

1024

Step 2

              AppleScript or Script Editor               
  • 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.
  • AirPods Shortcut Script

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.

AirPods Shortcut Script

Step 3

              Configuring the Script               
  • “Are we done yet?” No, thanks for asking.
  • 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”.
  • You may want to rename your AirPods to a different name without apostrophes because I could not get this to work when my AirPods were named “Aaron’s AirPods”.

“Are we done yet?” No, thanks for asking.

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”.

You may want to rename your AirPods to a different name without apostrophes because I could not get this to work when my AirPods were named “Aaron’s AirPods”.

Step 4

              Creating the Application               
  • 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.

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.

Step 5

              Running the Application for the first time               
  • The first time you run this Application you will need to allot it permissions to control system functions otherwise it will throw errors.
  • 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

The first time you run this Application you will need to allot it permissions to control system functions otherwise it will throw errors.

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

Step 6

              OPTIONAL: Creating a Custom App Icon               
  • This step is completely optional, you can be done here for it to work properly. Click the App twice in order for it to connect to your AirPods.
  • Creating a custom App icon is totally optional, but here’s how you do it.
  • Download Image2Icon from the Mac App Store. It is completely free, no worries.
  • You can download Image2Icon here.

This step is completely optional, you can be done here for it to work properly. Click the App twice in order for it to connect to your AirPods.

Creating a custom App icon is totally optional, but here’s how you do it.

Download Image2Icon from the Mac App Store. It is completely free, no worries.

You can download Image2Icon here.

Step 7

              Creating a custom App icon               
  • Find a good image to use as your App icon, preferably a .png icon.
  • I used this image here as my icon, you can use it if you want.
  • 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
  • You should see your Application with the icon you selected with now. You may need to right click it and open it thru there because it probably will say it is from an unidentified developer and block it. You will need to be an admin to bypass this too.

Find a good image to use as your App icon, preferably a .png icon.

I used this image here as my icon, you can use it if you want.

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

You should see your Application with the icon you selected with now. You may need to right click it and open it thru there because it probably will say it is from an unidentified developer and block it. You will need to be an admin to bypass this too.

Enjoy your new shortcut!

Cancel: I did not complete this guide.

                                                                                      10 other people completed this guide.                                             

Author

                                      with 1 other contributor 

                    [deleted]                     

Member since: 08/28/2018

24,746 Reputation

                                      21 Guides authored                  



                       Badges:
                       50







                                                        +47 more badges                           

Jimmy Rogers - Feb 21, 2020

Reply

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.

Demian Mioc - Mar 29, 2020

Reply

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.