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
Neue Funktionen
Version 1.0
First release
Was er macht
21 Aktionen-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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)
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Das gefällt dir vielleicht auch
Werbung