ShareShortcuts

I'm getting pulled over

suavejai
Fork “I'm getting pulled over”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so suavejai gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
59K
Saved
1
Actions
24
Category
API
Version
1.0
Language
EN

Use this shortcut when the cops pull you over!!————————————————————

READ DESCRIPTION BELOW FOR INSTRUCTIONS..

Just open the following URL in Safari once you have Shortcuts installed: https://www.icloud.com/shortcuts/6206a0de54ac4a8e9a34a3b29983ef74

This shortcut will be useful when getting pulled over by the police.

It pauses any music that may be playing, turns down your brightness and volume, turns on Do Not Disturb, and sends a message to the contact of your choosing letting them know you’re being pulled over and what your current location is. It then opens your front camera and starts a video recording so you have a video record of being pulled over.

Once you stop the recording it sends a copy of the video to a contact you specify, puts volume and brightness back to where they were, turns off Do Not Disturb, and gives you the option to send to iCloud Drive or Dropbox!

Works best when used with a phone dash mounted.

Make sure you are opening the link in the full Safari web browser on atleast iOS 12 with the Shortcuts app installed. Not Chrome, not anywhere else. If you are getting an message that you can’t use the untrusted shortcut or it can’t be opened, go to settings and go to shortcuts, and under shortcuts turn on “allow untrusted shortcuts”. You may have to run an shortcut already built in the “Shortcuts” app before it lets you turn on “allow untrusted shortcuts”...

$SuaveJai

What's New

Version 1.0

First release

Version History
1.0 Jun 18, 2020

First release

What it does

24 actions
  1. Get Device Details
  2. Set Variable
    Volume
  3. Get Device Details
  4. Set Variable
    Brightness
  5. Set Focus
  6. Set Volume
  7. Set Brightness
  8. Get Current Location
  9. Get Maps Link
  10. Send Message
  11. Take Video
  12. Set Brightness
  13. Set Volume
  14. Save to Photo Album
  15. Send Message
  16. Set Focus
  17. Get Variable
  18. Choose from Menu
    Upload video to iCloud Drive or Dropbox?
  19. Choose from Menu
    iCloud Drive
  20. Save File
  21. Choose from Menu
    Dropbox
  22. Save File
  23. Choose from Menu
    Do Not Upload
  24. Sirikit Donation Handle

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/sharing'
#include 'actions/location'
#include 'actions/device'
#define color red
#define glyph hand

getDeviceDetail("Current Volume")
@Volume
getDeviceDetail("Current Brightness")
@Brightness
setFocusMode()
setVolume(0)
setBrightness(0)
const CurrentLocation = getCurrentLocation()
getMapsLink(CurrentLocation)
sendMessage(nil, "I'm getting pulled over. Here is my location on Apple Maps: {}", false)
const Video = takeVideo("Front", "High")
setBrightness(@Brightness)
setVolume(@Volume)
const SavedPhotoMedia = savePhoto(Video)
sendMessage(nil, "Here's a video of the police interaction. {SavedPhotoMedia}", true)
DNDOff()
// TODO: Get Variable not supported: Assign variable here to 'SavedPhotoMedia'.

menu "Upload video to iCloud Drive or Dropbox?" {
item "iCloud Drive ":
	saveFilePrompt(SavedPhotoMedia)
item "Dropbox ":
	saveFilePrompt(SavedPhotoMedia)
item "Do Not Upload":
}
rawAction("is.workflow.actions.sirikit.donation.handle", {
	"ForceExecutionOnPhone": false,
	"IntentData": "YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMSAAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGvEDYLDB8gJCw+QkNGS0xSU1dcYXFyc3R1e3x9gYWOj5CRlZafoKGipqewsbK2t8DBxcbP0NHV1tlVJG51bGzZDQ4PEBESExQVFhcYGRoYHBgYXxAdX3Nob3VsZEZvcndhcmRUb0FwcE9uU3VjY2Nlc3NWJGNsYXNzXxAPcmVjb3JkRGV2aWNlVUlEXGJhY2tpbmdTdG9yZVppZGVudGlmaWVyXxAPYWlyUGxheVJvdXRlSWRzXxAVcGFyYW1ldGVyQ29tYmluYXRpb25zW3JlY29yZFJvdXRlXxAWcmVjb3JkRGV2aWNlSWRlbnRpZmllcgiANYAAgAO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gIlAi4CRgJKAmICbAJ1AnwChAKPApYCmAKaApwCngKgAqICqQKrAq0CrwKxArMCtQK3ArwCvgLAAsICygLPAtUC2ALdAuAC4gLkAuYC8AL1AvkC+wL9Av8DAQMHAwwDDgMQAxIDFwMaAxwDHgMgAyUDKAMqAywDLgM/A0cDXANwA4cDoAO+A9oD3APdA98D4QPjA+UD5gPoA/YD/QQIBA8EFgQpBDMENQQ3BDkETQRbBGAEfQSABJ0EogS7BL4E1wToBOoE6wTtBO8E8QTzBPQE9gUWBR0FJAUrBS0FLwUxBT8FUAVSBVMFVQVXBVkFWwVcBV4FvwXGBc0F1AXWBdgF2gXoBfkF+wX8Bf4GAAYCBgQGBQYHBkgGTwZWBlgGWgZcBmoGewZ9Bn4GgAaCBoQGhgaHBokGkAaXBpkGmwadBqsGvAa+Br8GwQbDBsUGxwbIBsoG0QbYBt8G4QbjBuUG8wb4BwUHCAcNByIHJgc7AAAAAAAAAgEAAAAAAAAA3gAAAAAAAAAAAAAAAAAAB0Q=",
	"ShowWhenRun": false
})
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

You Might Also Like

See All
Advertisement