Escaneie com o iPhone para instalar
calculates total hours
Novidades
Versão 1.0
First release
O que ele faz
16 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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"
})
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Você também pode gostar
Publicidade