Scanne avec ton iPhone pour installer
calculates total hours
Nouveautés
Version 1.0
First release
Ce qu’il fait
16 actions-
Get Valuedk.simonbs.DataJar
-
Set VariableMon
-
Get Valuedk.simonbs.DataJar
-
Set VariableTue
-
Get Valuedk.simonbs.DataJar
-
Set VariableWed
-
Get Valuedk.simonbs.DataJar
-
Set VariableThu
-
Get Valuedk.simonbs.DataJar
-
Set VariableFri
-
Get Valuedk.simonbs.DataJar
-
Set VariableSat
-
Get Valuedk.simonbs.DataJar
-
Set VariableSun
-
Calculate Expression
-
Set Valuedk.simonbs.DataJar
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#define color darkblue
#define glyph speedometer
rawAction("dk.simonbs.DataJar.GetValueIntent", {
"keyPath": "HP-Timesheet.Mon.time"
})
@Mon
rawAction("dk.simonbs.DataJar.GetValueIntent", {
"keyPath": "HP-Timesheet.Tue.time"
})
@Tue
rawAction("dk.simonbs.DataJar.GetValueIntent", {
"keyPath": "HP-Timesheet.Wed.time"
})
@Wed
rawAction("dk.simonbs.DataJar.GetValueIntent", {
"keyPath": "HP-Timesheet.Thu.time"
})
@Thu
rawAction("dk.simonbs.DataJar.GetValueIntent", {
"keyPath": "HP-Timesheet.Fri.time"
})
@Fri
rawAction("dk.simonbs.DataJar.GetValueIntent", {
"keyPath": "HP-Timesheet.Sat.time"
})
@Sat
rawAction("dk.simonbs.DataJar.GetValueIntent", {
"keyPath": "HP-Timesheet.Sun.time"
})
@Sun
const CalculationResult = (@Mon+@Tue+@Wed+@Thu+@Fri+@Sat+@Sun)/60
rawAction("dk.simonbs.DataJar.SetValueIntent", {
"keyPath": "HP-Timesheet.Total Time",
"values": "CalculationResult"
})
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Ça pourrait aussi te plaire
Publicité