ShareShortcuts

Period Logger

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

basnor
Fork “Period Logger”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så basnor får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
228
Gemt
0
Handlinger
24
Kategori
Rutiner
Version
1.1
Sprog
EN

Forhåndsvisning

🩸 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.

Nyheder

Version 1.1

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

Versionshistorik
1.1 24. nov. 2026

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

1.0 23. nov. 2026

First release

Hvad den gør

24 handlinger
  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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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"
		})
	}
}
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Du vil måske også kunne lide

Se alle
Annonce