ShareShortcuts

Sort Whole #s

Real simple idea

chefchip1965
Bifurcar “Sort Whole #s”

¿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 chefchip1965 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
70K
Guardado
2
Acciones
17
Categoría
Utilities
Versión
1.1
Idioma
EN

Real simple idea. Basically, the numbers are used to adjust the current date by days converting them into dates then formatted to yy/MM/dd. Filter files then formatted back to MM/dd/yy (for some reason I do not understand, to get this format the actual format is MM/yy/dd)

Novedades

Versión 1.1

Fixed

Historial de versiones
1.1 3 de mar. de 2019

Fixed

1.0 3 de mar. de 2019

First release

Qué hace

17 acciones
  1. Text
  2. Set Variable
    Original
  3. Split Text
  4. Repeat with Each
  5. Date
  6. Adjust Date
  7. Format Date
  8. Add to Variable
  9. Get Variable
  10. Filter Files
  11. Repeat with Each
  12. Format Date
  13. Repeat with Each
  14. Get Variable
  15. Get Time Between Dates
  16. Add to Variable
  17. Show Result

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.

#include 'actions/calendar'
#define color taupe
#define glyph calculator

@Original = "17\n1\n3\n100\n-1\n-50\n"
splitText(nil)

for _ in nil {
	currentDate()
	adjustDate("", "")
	formatTimestamp("", "Custom", "None", "yy/MM/dd")
	@Numbers = nil
}
// TODO: Get Variable not supported: Assign variable here to '@Numbers'.
filterFiles(nil, "Name", "Z to A")

for _ in nil {
	formatDate("", "Custom", "MM/yy/dd")
}

for _ in nil {
	// TODO: Get Variable not supported: Assign variable here to '@RepeatItem'.
	rawAction("is.workflow.actions.gettimebetweendates", {
		"WFTimeUntilCustomDate": "{CurrentDate}",
		"WFTimeUntilReferenceDate": "Other",
		"WFTimeUntilUnit": "Days"
	})
	@Sorted = nil
}
show("Original list\n{@Original}\n\nSorted\n{@Sorted}")
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

Más de chefchip1965

Ver todo

También te puede gustar

Ver todo
Publicidad