ShareShortcuts

Data Jar List

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

blue
Fazer fork de “Data Jar List”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que blue receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
45K
Salvo
2
Ações
6
Categoria
Utilities
Versão
1.0
Idioma
EN

Pré-visualização

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

Novidades

Versão 1.0

First release

Histórico de versões
1.0 26 de dez de 2021

First release

O que ele faz

6 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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"
	})
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de blue

Ver tudo

Você também pode gostar

Ver tudo
Publicidade