ShareShortcuts

Data Jar List

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

blue
Fork “Data Jar List”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so blue gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
45K
Saved
2
Actions
6
Category
Utilities
Version
1.0
Language
EN

Preview

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

What's New

Version 1.0

First release

Version History
1.0 Dec 26, 2021

First release

What it does

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

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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"
	})
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by blue

See All

You Might Also Like

See All
Advertisement