ShareShortcuts

Example 1 | Settings App | Device Values Commands

Example 1 | Get Started With Only At Apple Shortcuts Today!

coltensus
Dupliquer « Example 1 | Settings App | Device Values Commands »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que coltensus soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
32K
Enregistré
0
Actions
33
Catégorie
Utilities
Version
1.0
Langue
EN

Example 1 | Get Started With Only At Apple Shortcuts Today!

Nouveautés

Version 1.0

First release

Historique des versions
1.0 23 juin 2023

First release

Ce qu’il fait

33 actions
  1. Comment
    “Main Part” of the “Shortcut!”
  2. Dictionary
  3. Get Device Details
  4. Get Device Details
  5. Get Device Details
  6. Get Device Details
  7. Get Device Details
  8. Get Device Details
  9. If
  10. Show Notification
    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 = "…" and well that it for you ok?
  11. Vibrate Device
  12. If
  13. If
  14. Show Notification
    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 = "…" and well that it for you ok?
  15. Vibrate Device
  16. If
  17. If
  18. Show Notification
    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 = "…" and well that it for you ok?
  19. Vibrate Device
  20. If
  21. If
  22. Show Notification
    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 = "…" and well that it for you ok?
  23. Vibrate Device
  24. If
  25. If
  26. Show Notification
    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 = "…" and well that it for you ok?
  27. Vibrate Device
  28. If
  29. Stop This Shortcut
  30. Comment
    —Shortcut Comments Section!—
  31. Comment
    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”
  32. 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.”—
  33. Text

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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.”—
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de coltensus

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité