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
Novidades
Versão 1.0
First release
O que ele faz
21 ações-
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
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 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)
}
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
Você também pode gostar
Publicidade