Escanea con tu iPhone para instalar
Requires Scriptable My Scriptable File: https://drive.google.com/file/d/1ziv970vtNsvPluD8zguX1IY-3-V_WqgF/view?usp=drivesdk
Novedades
Versión 1.0
First release
Qué hace
21 acciones-
Get Battery Level
-
If
-
Show AlertError
-
Stop This Shortcut
-
If
-
Getcurrentapp
-
Text
-
Text
-
If
-
Set Low Power Mode
-
File
-
Get Text from Input
-
Open App
-
If
-
If
-
File
-
Get Text from Input
-
Open App
-
If
-
Save File
-
Parameterized Run Scriptdk.simonbs.Scriptable
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#define mac false
#include 'actions/device'
#define color red
const BatteryState = getBatteryLevel()
if BatteryState != 1 {
alert("Device is not at 1%", "Error")
stop()
} else {
}
rawAction("is.workflow.actions.getcurrentapp", {
"WFVisibleAppScope": "Current"
})
const Text3 = "{}"
const Text = "{ShortcutInput}"
if Text == "1" {
setLowPowerMode(false)
const File = file()
const Text1 = getText(File)
openApp()
} else {
if Text == "2" {
const File1 = file()
const Text2 = getText(File1)
openApp()
} else {
saveFile("/1% Battery Remaining Alert/Current App Data.txt", Text3, true)
rawAction("dk.simonbs.Scriptable.ParameterizedRunScriptIntent", {
"ShowWhenRun": false,
"fileName": "1% Battery Remaining Alert",
"parameter": [],
"runInApp": true,
"texts": []
})
}
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de coltensus
También te puede gustar
Publicidad