Vorschau
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%
Neue Funktionen
Version 1.0
First release
Was er macht
6 Aktionen-
Set Cellular Data
-
Set Wi-Fi
-
AirDrop
-
Set Bluetooth
-
Set Low Power Mode
-
Set Brightness
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/sharing'
#include 'actions/device'
#define color gray
setCellularData(0)
setWifi(0)
airdrop(nil)
setBluetooth(0)
setLowPowerMode(1)
setBrightness(0.2030303031206131)
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