Mit dem iPhone scannen, um zu installieren
calculates total hours
Neue Funktionen
Version 1.0
First release
Was er macht
16 Aktionen-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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"
})
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Das gefällt dir vielleicht auch
Werbung