ShareShortcuts

Caffeine

First try a complicated shortcut here

Fazer fork de “Caffeine”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que o criador original receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
75K
Salvo
1
Ações
30
Categoria
Reference
Versão
1.0
Idioma
EN

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!

Novidades

Versão 1.0

First release

Histórico de versões
1.0 6 de out de 2018

First release

O que ele faz

30 ações
  1. Date
  2. Ask for Input
    Search for drink
  3. Set Variable
    Answer
  4. Text
  5. Set Variable
    Url
  6. URL
    …
  7. Get Contents of URL
  8. Match Text
  9. Combine Text
  10. Repeat with Each
  11. Replace Text
  12. Replace Text
  13. Get Dictionary from Input
  14. Set Variable
    Dictionary
  15. List
  16. Choose from List
  17. Get Text from Input
  18. Set Variable
    Item
  19. Get Variable
  20. If
  21. Ask for Input
    Please enter custom amount in mg
  22. If
  23. Get Variable
  24. Get Dictionary from Input
  25. Get Dictionary Value
  26. Get Variable
  27. Set Variable
    Caffeine
  28. Log Health Sample
  29. Show Notification
    Sample has been logged!
  30. Stop This Shortcut

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
10 de out de 2018
danielbahl

This is pretty awesome, thank you for sharing 😎

Publicidade

Do blog

Avaliações e guias com Caffeine

Você também pode gostar

Ver tudo
Publicidade