Siri Shortcuts - Episode 3
Shortcut Name: Running Challenge - Percent Complete
Add to Shortcuts!
What does it do?
This one is really for me, but it might spark an idea in your head of how you can use parts of it for yourself! This Shortcut accepts my total running mileage to date and tells me how far along I am in my yearly goal. It then checks to see how far we are through the year, and let’s me know if I am behind or ahead of schedule with percentages and “words of wisdom”.
How does it work?
1. Accept my current mileage in the form of a number and divides it by 250 (my miles goal for 2018).
2. Trims the number output and converts it to text and gives that number a variable of
3. Current date is obtained and converted to ordinal date formate (DDD), and divides it by 365.
4. Just like above it trims and formats this output to text. Setting it to a variable of
5. Now it checks to see if
days is greater than
run and displays the appropriate message.
Check out all the Shortcuts on Github