Scan with your iPhone to install
This will get the information of your device and shows it for you. Some of the options aren’t out yet so don’t blame me if I didn’t tell you.
What's New
Version 1.0
First release
What it does
14 actions-
Choose from MenuOptions
-
Choose from MenuCurrent Version
-
Get Device Details
-
Show NotificationThe Current Version of your iOS is ….
-
Choose from MenuCheck for updates
-
Choose from MenuDevice Model
-
Get Device Details
-
Show NotificationThe device model is ….
-
Choose from MenuDevice Hostname
-
Get Device Details
-
Show NotificationYour Hostname is ….
-
Choose from MenuDevice Name
-
Get Device Details
-
Show NotificationYour Device’s name is ….
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/device'
#define color green
#define glyph uploadArrow
menu "Options" {
item "Current Version":
const SystemVersion = getDeviceDetail("System Version")
showNotification("The Current Version of your iOS is {SystemVersion}.", SystemVersion)
item "Check for updates":
item "Device Model":
const DeviceModel = getDeviceDetail("Device Model")
showNotification("The device model is {DeviceModel}.", DeviceModel)
item "Device Hostname":
getDeviceDetail("Device Hostname")
showNotification("Your Hostname is {}.")
item "Device Name":
const DeviceName = getDeviceDetail("Device Name")
showNotification("Your Device’s name is {DeviceName}.", DeviceName)
}
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 emopetrobot
You Might Also Like
Advertisement