Aperçu
iPhone Shortcut Description:
“When I connect my iPhone to the charger, this shortcut automatically does the following:
•Turns off Wi-Fi, Mobile Data, Airdrop, and Bluetooth
•Enables Low Power Mode
•Reduces screen brightness to 20%
Nouveautés
Version 1.0
First release
Ce qu’il fait
6 actions-
Set Cellular Data
-
Set Wi-Fi
-
AirDrop
-
Set Bluetooth
-
Set Low Power Mode
-
Set Brightness
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/sharing'
#include 'actions/device'
#define color gray
setCellularData(0)
setWifi(0)
airdrop(nil)
setBluetooth(0)
setLowPowerMode(1)
setBrightness(0.2030303031206131)
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é