ShareShortcuts
Bifurcar “Paste to Jar”

¿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 blue 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
44K
Guardado
1
Acciones
10
Categoría
Productivity
Versión
1.0
Idioma
EN

Vista previa

Paste to Jar Shortcut

Transfer a set number of items from Paste to Data Jar.

PastetoJar

Requirements

This shortcut will transfer a set number of items from Paste to a Data Jar of your specification. You will also be asked to specify the default number of items upon installation.

It should function on both macOS and iOS.

Contact

Novedades

Versión 1.0

First release

Historial de versiones
1.0 11 de feb. de 2022

First release

Qué hace

10 acciones
  1. Comment
    Transfer a set number of items from Paste to Data Jar. My contact information: Email: [email protected] Contact card: bit.ly/whoisdavidblue RoutineHub Profile: https://routinehub.co/user/blue GitHub: https://github.com/extratone/i Telegram: t.…
  2. Number
  3. Set Variable
    index
  4. Ask for Input
    Number of items to transfer.
  5. Repeat
  6. Get Variable
  7. Calculate
  8. Set Variable
    index
  9. Get Item At Index
    com.wiheads.paste
  10. Insert Value In Array
    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 darkorange
#define glyph chainlink

/*
Transfer a set number of items from Paste to Data Jar.

My contact information:

Email: [email protected]
Contact card: bit.ly/whoisdavidblue
RoutineHub Profile: https://routinehub.co/user/blue
GitHub: https://github.com/extratone/i
Telegram: t.me/extratone
Twitter: twitter.com/NeoYokel
Reddit: reddit.com/u/asphaltapostle
Mastodon: mastodon.social/@DavidBlue
EVERYWHERE: bit.ly/dbrolodex
*/
@index = 0
const ProvidedInput = prompt("Number of items to transfer.", "Number")

repeat _ for ProvidedInput {
	// TODO: Get Variable not supported: Assign variable here to '@index'.
	@index = @index + 1
	rawAction("com.wiheads.paste.GetItemAtIndexIntent", {
		"index": "@index",
		"pinboard": ""
	})
	rawAction("dk.simonbs.DataJar.InsertValueInArrayIntent", {
		"keyPath": "paste",
		"valueConversionMode": "automatic",
		"values": "Content"
	})
}
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 blue

Ver todo

También te puede gustar

Ver todo
Publicidad