Example 1 | Settings App | Device Values Commands
Example 1 | Get Started With Only At Apple Shortcuts Today!
coltensusEscaneie com o iPhone para instalar
Example 1 | Get Started With Only At Apple Shortcuts Today!
Novidades
Versão 1.0
First release
O que ele faz
33 ações-
Comment“Main Part” of the “Shortcut!”
-
Dictionary
-
Get Device Details
-
Get Device Details
-
Get Device Details
-
Get Device Details
-
Get Device Details
-
Get Device Details
-
If
-
Show NotificationYour using a "iPhone" and with a "System Build Number",… that = "iOS …" and with "Device Hostname" that = "…" and last is you have also a "Device Name" that also = "…" and well that it for you ok?
-
Vibrate Device
-
If
-
If
-
Show NotificationYour using a "iPad" and with a "System Build Number",… that = "iPadOS …" and with "Device Hostname" that = "…" and last is you have also a "Device Name" that also = "…" and well that it for you ok?
-
Vibrate Device
-
If
-
If
-
Show NotificationYour using a "iMac" and with a "System Build Number",… that = "MacOS …" and with "Device Hostname" that = "…" and last is you have also a "Device Name" that also = "…" and well that it for you ok?
-
Vibrate Device
-
If
-
If
-
Show NotificationYour using a "Apple Watch" and with a "System Build Number",… that = "WatchOS …" and with "Device Hostname" that = "…" and last is you have also a "Device Name" that also = "…" and well that it for you ok?
-
Vibrate Device
-
If
-
If
-
Show NotificationYour using a "Apple TV and with a "System Build Number",… that = "TVOS …" and with "Device Hostname" that = "…" and last is you have also a "Device Name" that also = "…" and well that it for you ok?
-
Vibrate Device
-
If
-
Stop This Shortcut
-
Comment—Shortcut Comments Section!—
-
CommentTip: Need help with “Apple Shortcuts App” well get help from the “Internet” or get help at one of “Apple Websites” at the “URL Link” 📲 “https://support.apple.com/guide/shortcuts/welcome/ios”
-
Comment—Setup Settings When First Time Or Second Or Others Time When Getting Shortcut Added To All Shortcuts Or Others Places In Apple Shortcuts App Like My Shortcuts Or Others Or “etc.”—
-
Text
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#define mac false
#include 'actions/device'
#define glyph gear
// “Main Part” of the “Shortcut!”
const DeviceModel = getDeviceDetail("Device Model")
const DeviceIsWatch = getDeviceDetail("Device Is Watch")
getDeviceDetail("System Build Number")
getDeviceDetail("System Version")
getDeviceDetail("Device Hostname")
const DeviceName = getDeviceDetail("Device Name")
if DeviceModel == "iPhone" {
showNotification("Your using a \"iPhone\" and with a \"System Build Number\",{} that = \"iOS {}\" and with \"Device Hostname\" that = \"{}\" and last is you have also a \"Device Name\" that also = \"{DeviceName}\" and well that it for you ok?", "Some of the \"Device Details\" with using the \"Apple Shortcuts App!\"", DeviceName)
vibrate()
} else {
if DeviceModel == "iPad" {
showNotification("Your using a \"iPad\" and with a \"System Build Number\",{} that = \"iPadOS {}\" and with \"Device Hostname\" that = \"{}\" and last is you have also a \"Device Name\" that also = \"{DeviceName}\" and well that it for you ok?", "Some of the \"Device Details\" with using the \"Apple Shortcuts App!\"", DeviceName)
vibrate()
} else {
if DeviceModel == "iMac" {
showNotification("Your using a \"iMac\" and with a \"System Build Number\",{} that = \"MacOS {}\" and with \"Device Hostname\" that = \"{}\" and last is you have also a \"Device Name\" that also = \"{DeviceName}\" and well that it for you ok?", "Some of the \"Device Details\" with using the \"Apple Shortcuts App!\"", DeviceName)
vibrate()
} else {
if DeviceIsWatch == "Apple Watch" {
showNotification("Your using a \"Apple Watch\" and with a \"System Build Number\",{} that = \"WatchOS {}\" and with \"Device Hostname\" that = \"{}\" and last is you have also a \"Device Name\" that also = \"{DeviceName}\" and well that it for you ok?", "Some of the \"Device Details\" with using the \"Apple Shortcuts App!\"", DeviceName)
vibrate()
} else {
if DeviceModel == "Apple TV" {
showNotification("Your using a \"Apple TV and with a \"System Build Number\",{} that = \"TVOS {}\" and with \"Device Hostname\" that = \"{}\" and last is you have also a \"Device Name\" that also = \"{DeviceName}\" and well that it for you ok?", "Some of the \"Device Details\" with using the \"Apple Shortcuts App!\"", DeviceName)
vibrate()
} else {
stop()
}
}
}
}
}
// —Shortcut Comments Section!—
// Tip: Need help with “Apple Shortcuts App” well get help from the “Internet” or get help at one of “Apple Websites” at the “URL Link” 📲 “https://support.apple.com/guide/shortcuts/welcome/ios”
// —Setup Settings When First Time Or Second Or Others Time When Getting Shortcut Added To All Shortcuts Or Others Places In Apple Shortcuts App Like My Shortcuts Or Others Or “etc.”—
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de coltensus
Você também pode gostar
Publicidade