ShareShortcuts

FocusRead Background

magicdinoh
โ€žFocusRead Backgroundโ€œ 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 magicdinoh 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
12K
Gesichert
1
Aktionen
71
Kategorie
Productivity
Version
1.0
Sprache
EN

๐Ÿ“– FocusRead Background

For FocusRead: Your shortcut to smarter reading sessions by ยฉ MagicDinoH


โœจ What is FocusRead?

FocusRead helps you plan, track, and complete your reading and study goals across multiple books โ€” effortlessly.

Whether you're a student managing textbooks, a self-learner working through courses, or simply a bookworm trying to stay on pace, FocusRead keeps you organized, focused, and on time.

This background shortcut works alongside the main FocusRead shortcut to provide automatic tracking and smart notifications โ€” running quietly in the background.

โžก๏ธ Note: Get the main FocusRead Shortcut for creating plans, tracking, editing, and more at https://shareshortcuts.com/shortcuts/3160-focusread.html


๐Ÿ” Features & Functions

๐Ÿ”” Notifications

  • โš ๏ธ Requires the main shortcut: FocusRead
  • Automatically checks if you've completed your daily reading goal
  • Sends daily notifications to remind you to read
  • Runs silently in the background without needing to open the app

๐Ÿ”„ Future Updates

  • Seamless integration with FocusRead (single shortcut system)
  • Improved background syncing and reminders

๐Ÿ“ฉ Contact

Email: magicdinoh@gmail.com


Graphics made with MediaKit (routinehub.co/shortcut/1911)

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 6. Aug 2025

First release

Was er macht

71 Aktionen
  1. Get Device Details
  2. Text
  3. If
  4. If
  5. Date
  6. Adjust Date
  7. Text
  8. Set Variable
    var1
  9. Get Contents of Folder
  10. Repeat with Each
  11. Get Details of Files
  12. Get Item from List
  13. Get Text from Input
  14. Get File
  15. Get Dictionary from Input
  16. Get Dictionary Value
  17. Get Dictionary Value
  18. Get Dictionary Value
  19. Get Dictionary Value
  20. Get Dictionary Value
  21. Text
  22. Get Dates from Input
  23. If
  24. Text
  25. Set Variable
    ReadToday?
  26. If
  27. If
  28. Text
  29. Set Variable
    ReadToday?
  30. If
  31. Text
  32. Set Variable
    ReadToday?
  33. Get Time Between Dates
  34. Get Numbers from Input
  35. Get Numbers from Input
  36. Calculate
  37. Calculate
  38. Round Number
  39. Set Dictionary Value
  40. Set Dictionary Value
  41. Save File
  42. Text
  43. If
  44. If
  45. Play Sound
  46. Show Alert
  47. Wait
  48. Play Sound
  49. Show Alert
  50. Get File
  51. Get Dictionary from Input
  52. Get Dictionary Value
  53. Get Dictionary Value
  54. Calculate
  55. Round Number
  56. Show Alert
  57. Get Numbers from Input
  58. Date
  59. Calculate
  60. Round Number
  61. Set Dictionary Value
  62. Set Dictionary Value
  63. Save File
  64. Get File
  65. Comment
    Show โ†‘ File in Quick Look to see complete updated Reading Plan
  66. Calculate
  67. Set Variable
    var1
  68. Text
  69. Wait
  70. Run Shortcut
    Reading Plan Background
  71. Stop This Shortcut

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/text'
#include 'actions/documents'
#include 'actions/device'
#define color lightblue

const DeviceIsLocked = getDeviceDetail("Device Is Locked")
const Text = "yes"

if DeviceIsLocked == Text {
} else {
	currentDate()
	adjustDate(, "Subtract")
	@var1 = "1"
	const GetContentsOfFolder = getFolderContents()
	for _ in GetContentsOfFolder {
		const Name = getFileDetail(nil, "Name")
		const ItemFromList = getListItem(Name, @var1)
		getText(ItemFromList)
		const File = getFile("{}.json")
		const BookPlanDictionary = getDictionary(File)
		const DictionaryValue = getValue(BookPlanDictionary, "DailyGoal")
		const Pages = getValue(BookPlanDictionary, "Pages")
		const Deadline = BookPlanDictionary['Deadline']
		const CurrentPage = getValue(BookPlanDictionary, "CurrentPage")
		const Text1 = "{}"
		const Dates = getDates(Text1)
		if Dates ==  {
			@ReadToday = "1"
		} else {
			if Dates ==  {
				@ReadToday = "0"
			} else {
				@ReadToday = "0"
				const DaysLeft = rawAction("is.workflow.actions.gettimebetweendates")
				const Numbers1 = getNumbers(CurrentPage)
				const Numbers = getNumbers(Pages)
				const CalculationResult = Numbers - Numbers1
				const CalculationResult1 = CalculationResult / DaysLeft
				round(CalculationResult1)
				const Dictionary = setValue(BookPlanDictionary, "DailyGoal")
				const Dictionary1 = setValue(Dictionary, "CurrentPage", CurrentPage)
				saveFile("/ReadingPlans/{}", Dictionary1, true)
			}
		}
		if @ReadToday ==  {
		} else {
			playSound(IfResult)
			confirm("5 minutes until time to read {ItemFromList}!")
			wait(300)
			playSound(nil)
			confirm("Time to read {ItemFromList}!")
			const File1 = getFile("{}.json")
			const Dictionary2 = getDictionary(File1)
			const DailyGoal = getValue(Dictionary2, "DailyGoal")
			const CurrentPage1 = getValue(Dictionary2, "CurrentPage")
			const CalculationResult2 = CurrentPage1 + DailyGoal
			round(CalculationResult2)
			confirm("Please read to page {}.")
			const Numbers2 = getNumbers(DictionaryValue)
			currentDate()
			const CalculationResult3 = Numbers1 + Numbers2
			round(CalculationResult3)
			const Dictionary3 = setValue(BookPlanDictionary, "CurrentPage")
			const Dictionary4 = setValue(Dictionary3, "LastRead")
			saveFile("/ReadingPlans/{}", Dictionary4, true)
		}
		getFile("{}.json")
		// Show โ†‘ File in Quick Look to see complete updated Reading Plan

		@var1 = @var1 + 1
	}
}
const Text2 = "900"
wait(Text2)
runSelf()
stop()
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 magicdinoh

Alle anzeigen

Das gefรคllt dir vielleicht auch

Alle anzeigen
Werbung