This is pretty awesome, thank you for sharing 😎
First try a complicated shortcut here. Basically I pulled all the caffeine information from here: https://www.caffeineinformer.com/the-caffeine-database I copied everything into a google sheets file and cleared out the columns I didn't want. After that that I published publicly as a .csv file. This list contains over 800 items and their respective caffeine in mg. Originally I was looking for an easier way to log caffeine through the shortcut app without having to remember all the amounts for the hundreds of drinks out there, so I figured I'd make a google sheet but it ended up turning out to be harder than I expected lol So basically: * Prompts a search through the database * creates a dictionary from the search * additional choice of custom amount * you can choose an item or custom amount and it logs a health sample for caffeine * gives you a notification that a sample has been logged Any feedback would be greatly appreciated!
Nouveautés
First release
Ce qu’il fait
30 actions-
Date
-
Ask for InputSearch for drink
-
Set VariableAnswer
-
Text
-
Set VariableUrl
-
URL…
-
Get Contents of URL
-
Match Text
-
Combine Text
-
Repeat with Each
-
Replace Text
-
Replace Text
-
Get Dictionary from Input
-
Set VariableDictionary
-
List
-
Choose from List
-
Get Text from Input
-
Set VariableItem
-
Get Variable
-
If
-
Ask for InputPlease enter custom amount in mg
-
If
-
Get Variable
-
Get Dictionary from Input
-
Get Dictionary Value
-
Get Variable
-
Set VariableCaffeine
-
Log Health Sample
-
Show NotificationSample has been logged!
-
Stop This Shortcut
Notes et avis
Écrire un avisDu blog
Avis et guides sur Caffeine