ShareShortcuts

Dictionary Generator

- Create dictionary for your shortcuts easier than ever!

arirafiq
Bifurcar “Dictionary Generator”

¿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 arirafiq 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
26
Categoría
API
Versión
1.0
Idioma
EN

Vista previa

  • Create dictionary for your shortcuts easier than ever!

Novedades

Versión 1.0

First release

Historial de versiones
1.0 24 de jul. de 2022

First release

Qué hace

26 acciones
  1. Comment
    Author: Ari R. Abdulla Usage: - Create dictionary for your shortcuts easier than ever!
  2. Text
  3. Comment
    Enter your first values here.
  4. Split Text
  5. Repeat with Each
  6. Get Item from List
  7. Set Variable
    First
  8. Text
  9. Comment
    Enter your second values here.
  10. Split Text
  11. Calculate
  12. Number
  13. Get Item from List
  14. Set Variable
    Second
  15. Combine Text
  16. Split Text
  17. Text
  18. Combine Text
  19. Copy to Clipboard
  20. Text
  21. Get Item from List
  22. Replace Text
  23. Replace Text
  24. Text
  25. Copy to Clipboard
  26. 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/text'
#include 'actions/sharing'
#define color blue
#define glyph list

/*
Author: Ari R. Abdulla
Usage:
- Create dictionary for your shortcuts easier than ever!
*/
const Text = "My\nFirst\nWords"
// Enter your first values here.

const SplitBrand = splitText(Text)

const RepeatResults = for _ in SplitBrand {
	getRandomItem(@RepeatItem)
	@First
	const Text1 = "My\nSecond\nWords"
	// Enter your second values here.

	const SplitAPIs = splitText(Text1)
	const CalculationResult = 1 + Number
	const Number = number(CalculationResult)
	getListItems(SplitAPIs, 1, 70)
	@Second
	const CombinedText = joinText([map[Value:map[attachmentsByRange:map[{3, 1}:map[Type:Variable VariableName:First]] string:  "] WFSerializationType:WFTextTokenString] map[Value:map[attachmentsByRange:map[{0, 1}:map[Type:Variable VariableName:Second]] string:] WFSerializationType:WFTextTokenString]], "": "")
	splitText(CombinedText, "
")
	joinText([map[Value:map[attachmentsByRange:map[{0, 1}:map[OutputName:Split Text OutputUUID:7E8BD7E0-F807-430E-914A-A7F13C993516 Type:ActionOutput]] string:] WFSerializationType:WFTextTokenString] map[Value:map[attachmentsByRange:map[{0, 1}:map[OutputName:Text OutputUUID:1500673F-2722-4D5E-B491-F781F4BC53D2 Type:ActionOutput]] string:] WFSerializationType:WFTextTokenString]], "",")
}
setClipboard(RepeatResults)
getRandomItem()
replaceText(",", "", false, false)
replaceText()
const Text2 = "{\n{}\n}"
setClipboard(Text2)
show(Text2)
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 arirafiq

Ver todo

También te puede gustar

Ver todo
Publicidad