Scan with your iPhone to install
This is an anti thieft shortcut. Name it unlock iPhone.
What's New
Version 1.0
First release
What it does
25 actions-
Text
-
Text
-
Set Airplane Mode
-
Set Low Power Mode
-
Set Wi-Fi
-
Set Cellular Data
-
Vibrate Device
-
Show AlertShow password.
-
Get Current Location
-
Get IP Address
-
Get IP Address
-
Get Maps Link
-
Get Battery Level
-
Text
-
If
-
Send Message
-
If
-
If
-
Send Email
-
Wait
-
Vibrate Device
-
Show Result
-
Text
-
Show Result
-
CommentThis is an anti-thieft shortcut
View as code
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/network'
#include 'actions/location'
#define mac false
#include 'actions/device'
#define color green
#define glyph lock
const Text = ""
setAirplaneMode(false)
setLowPowerMode(false)
setWifi(true)
setCellularData(true)
vibrate()
alert("Checking your last made passcodes.", "Show password.")
const CurrentLocation = getCurrentLocation()
getExternalIP()
getExternalIP("IPv4")
getMapsLink(CurrentLocation)
getBatteryLevel()
const Informations = "⚠️ your phone is stolen. \nBattery {}% \nLocation : \n- {CurrentLocation['URL']}\n- {CurrentLocation['City']}\n- {CurrentLocation['ZIP Code']}\n- {CurrentLocation['Country']}\n- {CurrentLocation['Street']}\n\nIp\nLocal : {}\nExternal : {}\n\nPlan : {}\n\nLongitude{CurrentLocation['Longitude']} Latitude{CurrentLocation['Latitude']} "
if Text contains "true" {
sendMessage(, Informations, false)
} else {
}
if Informations contains "true" {
sendEmail(, "", "Phone", Informations)
}
wait(5)
vibrate()
show("Finding...\nYour passcode will be revealed in 5 seconds...")
show("Your passcode is {}")
// This is an anti-thieft shortcut
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 n00ne
You Might Also Like
Advertisement