ShareShortcuts

Total Hours

calculates total hours

andris37
Bifurcar “Total Hours”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que andris37 reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
40K
Guardado
0
Acciones
16
Categoría
API
Versión
1.0
Idioma
EN

calculates total hours

Novedades

Versión 1.0

First release

Historial de versiones
1.0 15 de jul. de 2022

First release

Qué hace

16 acciones
  1. Get Value
    dk.simonbs.DataJar
  2. Set Variable
    Mon
  3. Get Value
    dk.simonbs.DataJar
  4. Set Variable
    Tue
  5. Get Value
    dk.simonbs.DataJar
  6. Set Variable
    Wed
  7. Get Value
    dk.simonbs.DataJar
  8. Set Variable
    Thu
  9. Get Value
    dk.simonbs.DataJar
  10. Set Variable
    Fri
  11. Get Value
    dk.simonbs.DataJar
  12. Set Variable
    Sat
  13. Get Value
    dk.simonbs.DataJar
  14. Set Variable
    Sun
  15. Calculate Expression
  16. Set Value
    dk.simonbs.DataJar

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo 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 en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

También te puede gustar

Ver todo
Publicidad