If you don’t know what the codes are check the command I’ll have all the codes there and if you don’t know what it does it’s basically let you turn off and turn on Pacific stuff
Nouveautés
Version 1.0
First release
Ce qu’il fait
21 actions-
Ask for InputEnter code
-
If
-
Set Airplane Mode
-
If
-
Set Bluetooth
-
If
-
Set Wi-Fi
-
If
-
Set Silent Modecom.apple.ShortcutsActions
-
If
-
Set Low Power Mode
-
If
-
Show Control Centercom.apple.ShortcutsActions
-
If
-
Set AirDrop
-
If
-
Lock Screen
-
If
-
Set Appearance
-
If
-
Set Orientation Lock
Afficher en tant que code
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 color violet
const ProvidedInput = prompt("Enter code", "Number")
if ProvidedInput == 1234 {
setAirplaneMode(false)
}
if ProvidedInput == 1111 {
setBluetooth(false)
}
if ProvidedInput == 2222 {
setWifi(false)
}
if ProvidedInput == 3333 {
rawAction("com.apple.ShortcutsActions.SetSilentModeAction", {
"AppIntentDescriptor": "",
"operation": "toggle"
})
}
if ProvidedInput == 4444 {
setLowPowerMode(false)
}
if ProvidedInput == 5555 {
showControlCenter()
}
if ProvidedInput == 6666 {
setAirdropReceiving("Off")
}
if ProvidedInput == 7777 {
lockScreen()
}
if ProvidedInput == 8888 {
darkMode()
}
if ProvidedInput == 9999 {
setOrientationLock(false)
}
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é
Ça pourrait aussi te plaire
Publicité