Ładowanie

Super Action Button Shortcut for iPhone [ENG 🇬🇧]

🇬🇧->🇵🇱 Przejdź do polskiej wersji tego wpisu / Go to polish version of this post

Starting from the iPhone 15 series, the famous silent mode switch has been replaced by a button called the Action Button. Initially, I was really frustrated when I saw this change during the conference (and earlier leaks). The two-state switch was a hallmark of the iPhone, which I found extremely useful and at the same time a brilliantly simple solution. The ease with which you could switch the phone to silent mode, even in your pocket, and how easy it was to tell what mode it was currently in, was a great feature for me. Hence, I didn’t understand at all why Apple decided to change it, especially in such an uncreative way as just replacing it with a button… Well, this isn’t the first incomprehensible decision from Apple. Let’s leave that aside though and focus on what we got with the new Action Button and how to maximize its use.

Let’s start by noting that the Action Button is really untapped potential because it triggers the assigned function only when held for a short time. I think everyone thought it was begging for an extended functionality, like being able to assign a different function for scenarios where it’s pressed twice or three times. Apple already has such a mechanism in the system, which we know from the multiple presses of the Power button. For example, I have the notification menu (drop down) assigned to a double click, and switching the screen to black-and-white mode on a triple click. On the plus side, the Action Button allows you to assign various functions, including triggering any shortcut created in the Shortcuts app. This opens up a wide range of possibilities. This post will be about how to extend the functionality of the Action Button in this way.

Here’s how I use it

I’ll start from the end, by showing how I use the method presented in this post. I’ve configured everything so that depending on whether specific conditions are met (or not), using the Action Button triggers a different action. When the phone is playing sound, such as listening to music/podcasts or watching videos, pressing the AB stops playback. If the above condition isn’t met, I check the second one, which is the phone’s current orientation. You can choose from the following:

Based on this, I’ve assigned the following actions:

  • when the phone is in landscape (landscapeLeft or landscapeRight) orientation, pressing the AB launches the camera in photo mode,
  • when the phone is in portrait orientation, pressing the AB launches the camera in video recording mode,
  • when the phone is lying flat with the screen up (faceUp), pressing the AB enables/disables Orientation Lock,
  • in any other position, pressing the AB enables/disables Silent Mode.

Instructions

  • Download the Actions app, which is normally available in the App Store. It’s a very useful extension to the Shortcuts app, developed by Sindre Sorhus. It’s not an app where you do anything through its interface. You just give it certain permissions, which it uses to gather useful information about the phone’s status. These can be easily imported and used in Shortcuts. I know not everyone will like the fact that this requires installing another app, and that it’s not from Apple but from a private developer. However, to ease your concerns, I can say that the developer seems trustworthy, and the app doesn’t collect any suspicious data.
  • The next step is to launch the Shortcuts app and create a new shortcut. You do this by pressing the “+” button in the upper-right corner.
  • Give it a name of your choice (expand the menu at the top center labeled New Shortcuts and choose the Rename option), and start building the formula. I won’t explain this in detail because I might write a separate post on it someday. Nevertheless, it’s intuitive enough that even without watching 69 tutorials, everyone should be able to figure it out. Basically, it involves searching the library for the right blocks, configuring them in a specific way, and arranging them in the correct order.
  • The formula for my shortcut, whose functionality I described above, looks like this:
  • This shortcut is saved by pressing the Done button located in the top right corner.
  • We then go to the phone settings, where we find the Action Button section.
  • We scroll right (or left) until we find the Shortcut option.
  • Press the Choose a Shortcut… button and select the one we just created from the menu that pops up.
  • That’s it. Now, simply check if it works correctly and enjoy the fact that your Action Button is now more than just a simple silent mode toggle.

Want a ready-made solution?

For the lazy ones, I have prepared a ready-made shortcut for download, which I created. You can download it from this link. All you need to do is launch it from the Files app and import it into your Shortcuts app by using the Add Shortcut button. Enjoy!


If you liked this post then you can support me! 🙂

Tomasz Dunia

🇵🇱 Z wykształcenia Mechatronik. Z zawodu Główny Konstruktor w PAK-PCE Polski Autobus Wodorowy (Neso Bus). Po pracy Ojciec Roku. W nocy Wannabe Programista. Wszystko to daje przepis na zwykłego nerda :) 🇬🇧 Mechatronics by education. By profession Chief Constructor in PAK-PCE Polish Hydrogen Bus (Neso Bus). After work Father of the Year. At night Wannabe Programmer. All this gives a recipe for an ordinary nerd :)

svg

Co myślisz?

Pokaż komentarze / Napisz komentarz

Odpowiedz

svg
Szybka nawigacja
  • 01

    Super Action Button Shortcut for iPhone [ENG 🇬🇧]