ShareShortcuts
Fork “Police”

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 awesomebros 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
76K
Saved
1
Actions
19
Category
Routines
Version
1.0
Language
EN

Getting pulled over by police 🚓

Automatically notify a contact you’ve been pulled over and start recording.

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

It pauses any music that may be playing, turns down your brightness, 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 to 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 the brightness back up, and turns off Do Not Disturb and gives you the option of uploading the video to iCloud Drive or Dropbox.

What's New

Version 1.0

First release

Version History
1.0 Oct 19, 2018

First release

What it does

19 actions
  1. Play/Pause
  2. Set Focus
  3. Set Brightness
  4. Get Current Location
  5. Send Message
  6. Take Video
  7. Save to Photo Album
  8. Get Variable
  9. Set Brightness
  10. Get Variable
  11. Send Message
  12. Set Focus
  13. Comment
    Shortcut by /u/RobertAPetersen on Reddit. @Sonikku_a2 on Twitter. V1.4
  14. Get Variable
  15. Choose from Menu
    Upload video to iCloud Drive or Dropbox?
  16. Choose from Menu
    iCloud Drive
  17. Save File
  18. Choose from Menu
    Dropbox
  19. Save File

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/music'
#define color red

togglePlayPause()
setFocusMode()
setBrightness(0)
getCurrentLocation()
sendMessage(, "I'm getting pulled over. My current location is {} (Latitude:{['Latitude']}, Longitude:{['Longitude']}).", false)
takeVideo("Front", "High")
const SavedPhotoMedia = savePhoto(nil)
// TODO: Get Variable not supported: Assign variable here to 'SavedPhotoMedia'.
setBrightness(0.6066666)
// TODO: Get Variable not supported: Assign variable here to 'SavedPhotoMedia'.
sendMessage(, "Here's a video of the police interaction.", false)
setFocusMode()
// Shortcut by /u/RobertAPetersen on Reddit. @Sonikku_a2 on Twitter. V1.4

// TODO: Get Variable not supported: Assign variable here to 'SavedPhotoMedia'.

menu "Upload video to iCloud Drive or Dropbox?" {
item "iCloud Drive ":
	saveFilePrompt(nil)
item "Dropbox ":
	saveFilePrompt(nil)
}
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

More by awesomebros

See All

You Might Also Like

See All
Advertisement