ShareShortcuts

Lipsy Time Calc

time calc

rvb1k
Fork “Lipsy Time Calc”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so rvb1k gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
66K
Saved
0
Actions
22
Category
Calculations
Version
1.0
Language
EN

time calc

What's New

Version 1.0

First release

Version History
1.0 Sep 23, 2019

First release

What it does

22 actions
  1. Choose from Menu
  2. Choose from Menu
    Surplus
  3. Ask for Input
    How many items to pick?
  4. Add to Variable
  5. Format Number
  6. Add to Variable
  7. Calculate
  8. Add to Variable
  9. Calculate
  10. Format Number
  11. Text
  12. Date
  13. Adjust Date
  14. Format Date
  15. Date
  16. Adjust Date
  17. Format Date
  18. Show Result
  19. Choose from Menu
    PR’s
  20. Ask for Input
    How many PR’s to process?
  21. Add to Variable
  22. Choose from Menu
    Parcels

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/calendar'
#define color pink
#define glyph magicWandAlt


menu nil {
item "Surplus":
	prompt("How many items to pick?", "Number")
	@parcels_
	formatNumber(@parcels_, 0)
	@parcels_form
	@parcel_min += @parcels_form / 42
	const Resultplease = @parcel_min * 60
	formatNumber(Resultplease, 0)
	currentDate()
	adjustDate(, "")
	formatDate(, "Custom", "HH:mm")
	currentDate()
	adjustDate(, "")
	formatDate(, "Custom", "HH:mm")
	show("It will take you {} to process (Picking and Transferring) {} units of surplus.  {}")
item "PR’s":
	prompt("How many PR’s to process?", "Number")
	@pr_
item "Parcels":
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

You Might Also Like

See All
Advertisement