ShareShortcuts

TimeTeller

Speaks the time of day at regular intervals within a time range

te55eract
„TimeTeller“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit te55eract die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
13K
Gesichert
0
Aktionen
26
Kategorie
Utilities
Version
2.0
Sprache
EN

Speaks the time of day at regular intervals within a time range.

Useful in an Automation that runs the shortcut daily.

To configure: set time range and minute values before running this shortcut.


Requires "Actions" app

Neue Funktionen

Version 2.0

Removed saving of audio files to the files app

Versionsverlauf
2.0 5. Aug 2025

Removed saving of audio files to the files app

1.0 25. Jul 2025

First release

Was er macht

26 Aktionen
  1. Dictionary
  2. Comment
    This shortcut speaks the time of day at regular intervals within a time range. Useful in an Automation that runs the shortcut daily before `StartTime`. To change the voice scroll down to the `Make spoken audio from` action Note: You can schedule a m…
  3. Comment
    ↓ Time range within which to notify
  4. Text
  5. Adjust Date
  6. Set Variable
    StartTime
  7. Text
  8. Adjust Date
  9. Set Variable
    EndTime
  10. Comment
    ↓ minute times to notify for every hour within the time range
  11. Text
  12. Split Text
  13. Add to Variable
  14. Repeat
  15. Repeat with Each
  16. List
  17. Repeat with Each
  18. Text
  19. Is Time In Range
    com.sindresorhus.Actions
  20. If
  21. If
  22. Text
  23. If
  24. Text
  25. Make Spoken Audio
  26. Show Notification
    com.sindresorhus.Actions

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#include 'actions/calendar'
#define color blue
#define glyph alarmClock

/*
This shortcut speaks the time of day at regular intervals within a time range. 

Useful in an Automation that runs the shortcut daily before `StartTime`. 

To change the voice scroll down to the `Make spoken audio from` action

Note:
You can schedule a maximum of 64 notifications per 24 hour period for the Actions app. So keep track of the math if you think you might exceed that limit with your custom times.
*/
// ↓ Time range within which to notify

adjustDate(, "Subtract")
@StartTime = ['Time']
adjustDate(, "Add")
@EndTime = ['Time']
// ↓ minute times to notify for every hour within the time range

const Text = "00\n30"
splitText(Text)
@MinuteValues

repeat _ for 12 {
	for _ in @MinuteValues {
		const List = list("am", "pm")
		for _ in List {
			rawAction("com.sindresorhus.Actions.IsTimeInRangeIntent", {
				"AppIntentDescriptor": "",
				"endTime": "{@EndTime}",
				"startTime": "{@StartTime}",
				"targetTime": "{}"
			})
			if IsTimeInRange ==  {
				if @RepeatItem2 == "00" {
				} else {
				}
				const SpokenAudio = makeSpokenAudio()
				rawAction("com.sindresorhus.Actions.ShowNotificationIntent", {
					"AppIntentDescriptor": "",
					"actions": [],
					"customSound": "SpokenAudio",
					"isTimeSensitive": false,
					"sound": "custom",
					"time": " {}",
					"timing": "atTime",
					"title": "The time is {}"
				})
			}
		}
	}
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von te55eract

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung