Step 1: Get Custom Scream Shortcut
Before we dig into automation in the Shortcuts app, you’ll need to download our custom Play Scream shortcut. To do that, you’ll need to allow downloading from untrusted shortcuts in your device Settings. follow the below instruction to get it to enable
First To tap the “Settings” icon then navigate to the “Shortcuts.” icon
in Sharing Security Tag the “Allow Untrusted Shortcuts” icon option to switch it on.
vNext—is the custom scream app you need, visit this iCloud link then tap the “Get Shortcut” button to download this custom scream.
You’ll be taken to the Shortcuts scream app, in which you’ll see an “Add Shortcut” window. This will gives you a chance to assess the shortcut before you add it to your device.
Curious how our sound shortcut works? Well, a wonderful screaming sound is encoded in the text using this base64 scheme, When you activate the shortcut, it decodes the base64 sound and funnels the data into the “Play Sound” action. The code is complete when you get sound then you play it through your iPhone’s speaker.
If you don’t trust it don’t install the shortcut. However, this harmless (except for startling your friends) three-step shortcut just plays a sound.
Scroll and tap the “Add Untrusted Shortcut.”
In your Shortcuts app list, the “Play Scream” shortcut will then be added. Just Tap the Speaker icon to test it out.
Step 2: Building the Scream Automation
Next, we need to link up the “Play Scream” shortcut with the action of plugging (or unplugging) your iPhone. The option to create automation was introduced in iOS 14.
open it and then tap “Automation” at the bottom If you’re not already in “Shortcuts,”.
tap the plus sign (+), If you already have automation and then tap “Create Personal Automation.” If this is your first automation, just tap “Create Personal Automation.”
Tap the “Charger.” icon in “New Automation”, Section
On the “Charger”, you are given the option to decide which of the behaviors you want to trigger the scream. For your iPhone to scream when it plugged into power, tap the “Is Connected.” when it’s disconnected If you want it to scream (which is much more disturbing), tap the “Is Disconnected.”
if you want both You can also choose them. tap “Next”, When you’re done.
Tap the “Add Action” button this will define the action to be taken when your charger is connected.
Type the “Run Shortcut” in the Search box, and then tap “Run Shortcut.” This allows you to trigger any shortcut you already have on your iPhone.
When the “Run Shortcut” icon action appears, you’ll see a space where you can define the shortcut that runs when the automation is triggered. Tap “Shortcut.”
In the list of shortcuts, tap the “Play Scream.”
The entire automation program overview will be displayed; tap “Next.”
Tag the “Ask Before Running” Toggle-Off switch to enabled it, a pop-up message will appear every time automation is triggered, which spoils the effect.
In the confirmation pop-up, tap “Don’t Ask.”
Tap “Done” and your scream automation is set. The next time you plug (or unplug) your iPhone, it should scream.
Step 3: Hiding Automation Notification
The only drawback to this bit of fun is every time you trigger automation, a notification appears on-screen, like the one shown below.
it’s impossible to turn off Shortcuts notifications in the Settings app at the moment of writing this post. I believe with future updates they will be fixed, In the meantime, however, you can turn them off until the next time you restart your iPhone via Screen Time.
To do so, you’ll have to activate Screen Time in Settings first and then run the automation (by plugging it in or unplugging it) a few times to generate some notifications.
Wait for a few minutes, and then tap Settings next Screen Time next See All Activity.
Scroll down to the “Notifications” icon section and tap the “Shortcuts.”
Tag the “Allow Notifications” Toggle to switch it, and then tap “Back.”
You can now tap exit “Settings.” The next time you want to trigger the automation, your iPhone will scream without a notification. Pretty freaky!