ShareShortcuts

Period Logger

🩸 Period Logger Log your period in Apple Health using your voice and ChatGPT

basnor
Создать форк «Period Logger»

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

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

Просмотр

🩸 Period Logger

Log your period in Apple Health using your voice and ChatGPT.

This shortcut lets you record multiple days of your period with a single spoken phrase, without manually selecting dates in the Health app.

🎙️ Voice input: Simply say when your period started and ended. 🤖 ChatGPT: Uses CharGPT through Apple Intelligence to recognize dates. 📅 Automatic logging: Records every day of your period directly in Apple Health. ✅ Confirmation: Review the detected dates before saving.

HOW TO USE

Always mention both the start and end dates of your period.

For example: • «My period was from November 19 to 22.» • «Log my period from the 19th to the 22nd.»

The shortcut does not support logging a single day without an end date.

REQUIREMENTS

• Apple Intelligence enabled with ChatGPT integration available • Permission to write Menstrual Flow data to Apple Health

⚠️ Note: Your input is processed by AI. Always double-check the detected dates before confirming.

Что нового

Версия 1.1

Replaced the ChatGPT app action with Apple's native ChatGPT integration for better performance and a simpler setup.

История версий
1.1 24 ноя 2026 г.

Replaced the ChatGPT app action with Apple's native ChatGPT integration for better performance and a simpler setup.

1.0 23 ноя 2026 г.

First release

Что делает

Действий: 24
  1. Dictate Text
  2. Text
  3. Use Model
  4. Get Text from Input
  5. If
  6. Show Notification
    Couldn't recognize the dates.
  7. Stop This Shortcut
  8. If
  9. Split Text
  10. Get Item from List
  11. Format Date
  12. Get Item from List
  13. Format Date
  14. Choose from Menu
    Log your period from … to …?
  15. Choose from Menu
    Log Period
  16. Choose from Menu
    Cancel
  17. Stop This Shortcut
  18. Repeat with Each
  19. Get Dates from Input
  20. Format Date
  21. If
  22. Log Health Sample
  23. If
  24. Log Health Sample

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

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

#include 'actions/text'
#define color red
#define glyph waterDrop

listen(, "en-US")
const Response = askLLM(, "ChatGPT")
const  = getText(Response)

if  contains "ERROR" {
	showNotification("Couldn't recognize the dates.", false)
	stop()
} else {
}
const 1 = splitText()
getListItems(1, 0, 0)
formatDate(, "Custom", "MMM d, yyyy")
getFirstItem(1)
formatDate(, "Custom", "MMM d, yyyy")

menu "Log your period from {} to {}?" {
item "Log Period":
item "Cancel":
	stop()
}

for _ in 1 {
	getDates(@RepeatItem)
	formatDate(, "Custom", "yyyy-MM-dd HH:mm")
	if @RepeatIndex == 1 {
		rawAction("is.workflow.actions.health.quantity.log", {
			"WFCategorySampleAdditionalEnumerationKey": "Yes",
			"WFCategorySampleEnumeration": "Unspecified",
			"WFQuantitySampleDate": "{}",
			"WFQuantitySampleType": "Menstruation"
		})
	} else {
		rawAction("is.workflow.actions.health.quantity.log", {
			"WFCategorySampleAdditionalEnumerationKey": "No",
			"WFCategorySampleEnumeration": "Unspecified",
			"WFQuantitySampleDate": "{}",
			"WFQuantitySampleType": "Menstruation"
		})
	}
}
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

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

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

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

Реклама

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

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