ShareShortcuts

배터리 상태 (100%)

Third shortcut of 배터리 상태 series

guinea
Создать форк «배터리 상태 (100%)»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы guinea получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
9K
Сохранено
1
Действия
34
Категория
Productivity
Версия
1.0
Язык
EN

Third shortcut of 배터리 상태 series.

Что нового

Версия 1.0

First release

История версий
1.0 24 дек 2025 г.

First release

Что делает

Действий: 34
  1. Comment
    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%.
  2. Get Device Details
  3. Find Notes
  4. Date
  5. Append to Note
  6. Get Battery Level
  7. Get Text from Input
  8. Append to Note
  9. Text
  10. Append to Note
  11. Get Text from Input
  12. Split Text
  13. Count
  14. Calculate Expression
  15. Get Item from List
  16. Get Dates from Input
  17. Calculate Expression
  18. Get Item from List
  19. Get Dates from Input
  20. Get Time Between Dates
  21. Calculate Expression
  22. Get Item from List
  23. Get Numbers from Input
  24. Calculate Expression
  25. Get Item from List
  26. Get Numbers from Input
  27. Calculate Expression
  28. Find Notes
  29. Append to Note
  30. Append to Note
  31. Calculate Expression
  32. Append to Note
  33. Text
  34. Show Notification
    …

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#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(, "충전 완료됨")
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от guinea

См. все

Вам также может понравиться

См. все
Реклама