ShareShortcuts

Data Jar List

Data Jar List Add a list of text or URLs to a List in Data Jar

blue
Dupliquer « Data Jar List »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que blue soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
45K
Enregistré
2
Actions
6
Catégorie
Utilities
Version
1.0
Langue
EN

Aperçu

Data Jar List

Add a list of text or URLs to a List in Data Jar.

https://user-images.githubusercontent.com/43663476/147396567-e36fa240-b271–4e9e-993c-1be4ee997b3e.png https://user-images.githubusercontent.com/43663476/147396569–23e09219-dbeb-4274-a8b9–71f803937b84.png https://user-images.githubusercontent.com/43663476/147396570–8b94437f-33df-4e09-b176–913fad175740.png

About

Data Jar Logo

Data Jar List Shortcut Actions

Data Jar List Result

There are many other, far more capable Shortcuts available on RoutineHub and elsewhere which accomplish the entire function of this one as well as a whole bunch more. It’s largely for those like myself who’ve struggled to learn Repeat With Each. It took me way too long, so I feel y’all.

Data Jar List Source

Steps

  1. Text or URLs are received as input or the clipboard is retrieved.
  2. Split Text parses said input by New Lines.
  3. Ask for Input asks you for the name (“key”) of the Data Jar you’d like to add to. It’ll always be lowercase.
  4. Set Variable sets variable key to said input.
  5. Each item in the result from step 2 is added to the beginning of the list specified by step 3.

Video Demo

Other Links/Resources

Contact

Nouveautés

Version 1.0

First release

Historique des versions
1.0 26 déc. 2021

First release

Ce qu’il fait

6 actions
  1. Comment
    This shortcut adds a list of text/URLs to a specified list in Data Jar. See this shortcut’s corresponding GitHub Issue: https://github.com/extratone/i/issues/118 Email: [email protected] Contact card: bit.ly/whoisdavidblue Telegram: t.me/extra…
  2. Split Text
  3. Ask for Input
    Jar/“Key”
  4. Set Variable
    key
  5. Repeat with Each
  6. Insert Value In Array
    dk.simonbs.DataJar

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#define color darkorange
#define glyph database

/*
This shortcut adds a list of text/URLs to a specified list in Data Jar. 

See this shortcut’s corresponding GitHub Issue: https://github.com/extratone/i/issues/118

Email: [email protected]
Contact card: bit.ly/whoisdavidblue
Telegram: t.me/extratone
Twitter: twitter.com/NeoYokel
Reddit: reddit.com/u/asphaltapostle
Mastodon: mastodon.social/@DavidBlue
EVERYWHERE: bit.ly/dbrolodex
*/
const SplitText = splitText(ShortcutInput)
prompt("Jar/“Key”")
@key

for _ in SplitText {
	rawAction("dk.simonbs.DataJar.InsertValueInArrayIntent", {
		"keyPath": "{@key}",
		"valueConversionMode": "text",
		"values": "@RepeatItem"
	})
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de blue

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité