📖 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)
Novedades
First release
Qué hace
71 acciones-
Get Device Details
-
Text
-
If
-
If
-
Date
-
Adjust Date
-
Text
-
Set Variablevar1
-
Get Contents of Folder
-
Repeat with Each
-
Get Details of Files
-
Get Item from List
-
Get Text from Input
-
Get File
-
Get Dictionary from Input
-
Get Dictionary Value
-
Get Dictionary Value
-
Get Dictionary Value
-
Get Dictionary Value
-
Get Dictionary Value
-
Text
-
Get Dates from Input
-
If
-
Text
-
Set VariableReadToday?
-
If
-
If
-
Text
-
Set VariableReadToday?
-
If
-
Text
-
Set VariableReadToday?
-
Get Time Between Dates
-
Get Numbers from Input
-
Get Numbers from Input
-
Calculate
-
Calculate
-
Round Number
-
Set Dictionary Value
-
Set Dictionary Value
-
Save File
-
Text
-
If
-
If
-
Play Sound
-
Show Alert
-
Wait
-
Play Sound
-
Show Alert
-
Get File
-
Get Dictionary from Input
-
Get Dictionary Value
-
Get Dictionary Value
-
Calculate
-
Round Number
-
Show Alert
-
Get Numbers from Input
-
Date
-
Calculate
-
Round Number
-
Set Dictionary Value
-
Set Dictionary Value
-
Save File
-
Get File
-
CommentShow ↑ File in Quick Look to see complete updated Reading Plan
-
Calculate
-
Set Variablevar1
-
Text
-
Wait
-
Run ShortcutReading Plan Background
-
Stop This Shortcut
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#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()
Valoraciones y reseñas
Escribe una reseñaAún no hay reseñas. ¡Sé el primero en compartir tu opinión!