time calc
What's New
Version 1.0
First release
What it does
22 actions-
Choose from Menu
-
Choose from MenuSurplus
-
Ask for InputHow many items to pick?
-
Add to Variable
-
Format Number
-
Add to Variable
-
Calculate
-
Add to Variable
-
Calculate
-
Format Number
-
Text
-
Date
-
Adjust Date
-
Format Date
-
Date
-
Adjust Date
-
Format Date
-
Show Result
-
Choose from MenuPR’s
-
Ask for InputHow many PR’s to process?
-
Add to Variable
-
Choose from MenuParcels
View as code
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
Advertisement