Scan with your iPhone to install
Third shortcut of 배터리 상태 series.
What's New
Version 1.0
First release
What it does
34 actions-
CommentShortcut name: Battery status (if 100%) Creator: guinea Version: 1.3 Caution: Don’t activate this shortcut manually. Create automation to activate this shortcut automatically when the battery is 100%.
-
Get Device Details
-
Find Notes
-
Date
-
Append to Note
-
Get Battery Level
-
Get Text from Input
-
Append to Note
-
Text
-
Append to Note
-
Get Text from Input
-
Split Text
-
Count
-
Calculate Expression
-
Get Item from List
-
Get Dates from Input
-
Calculate Expression
-
Get Item from List
-
Get Dates from Input
-
Get Time Between Dates
-
Calculate Expression
-
Get Item from List
-
Get Numbers from Input
-
Calculate Expression
-
Get Item from List
-
Get Numbers from Input
-
Calculate Expression
-
Find Notes
-
Append to Note
-
Append to Note
-
Calculate Expression
-
Append to Note
-
Text
-
Show Notification…
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/device'
#define color blue
#define glyph battery
/*
Shortcut name: Battery status (if 100%)
Creator: guinea
Version: 1.3
Caution: Don’t activate this shortcut manually. Create automation to activate this shortcut automatically when the battery is 100%.
*/
getDeviceDetail("Device Model")
rawAction("is.workflow.actions.filter.notes", {
"AppIntentDescriptor": "",
"WFContentItemFilter": ""
})
currentDate()
appendNote()
const 1 = getBatteryLevel()
getText(1)
appendNote()
appendNote()
const 2 = getText()
const 3 = splitText(2)
count(3)
const 4 = -5
const 5 = getListItem(3, 4)
getDates(5)
const 6 = -2
const 7 = getListItem(3, 6)
getDates(7)
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{}",
"WFTimeUntilFromDate": "{}"
})
const 8 = -4
const 9 = getListItem(3, 8)
getNumbers(9)
const 10 = -1
const 11 = getListItem(3, 10)
getNumbers(11)
rawAction("is.workflow.actions.filter.notes", {
"AppIntentDescriptor": "",
"WFContentItemFilter": "",
"WFContentItemInputParameter": "Library"
})
appendNote(12)
appendNote(12)
appendNote(12)
showNotification(, "충전 완료됨")
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by guinea
You Might Also Like
Advertisement