ShareShortcuts

Clipboard

• Use action button for ease of use

arirafiq
Fork “Clipboard”

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 arirafiq 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
4K
Saved
1
Actions
23
Category
API
Version
1.0
Language
EN

Preview

• Use action button for ease of use. • Uses local storage no iCloud. • Simple so no instructions needed.

What's New

Version 1.0

First release

Version History
1.0 Jun 12, 2026

First release

What it does

23 actions
  1. Get File
  2. Set Variable
    File
  3. If
  4. Append to Text File
  5. Choose from Menu
  6. Choose from Menu
    Copy
  7. Get Clipboard
  8. Split Text
  9. Combine Text
  10. Append to Text File
  11. Choose from Menu
    Clipboard
  12. Split Text
  13. Choose from List
  14. Replace Text
  15. Copy to Clipboard
  16. Choose from Menu
    Delete
  17. Split Text
  18. Choose from List
  19. Replace Text
  20. Replace Text
  21. Save File
  22. Choose from Menu
    Exit
  23. Stop This Shortcut

View as code
Beta

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

#include 'actions/text'
#include 'actions/sharing'
#include 'actions/documents'
#define glyph clipboard

getFileFromFolder(, "clipboard.txt", false)
@File

if !@File {
	appendToFile("clipboard.txt", "Ari")
}

menu nil {
item "Copy":
	const Clipboard = getClipboard()
	const SplitText = splitText(Clipboard)
	joinText(SplitText, " / ")
	appendToFile("clipboard.txt")
item "Clipboard":
	const SplitText1 = splitText(@File, "
")
	chooseFromList(SplitText1)
	const UpdatedText = replaceText(" / ", "\n", false, true)
	setClipboard(UpdatedText)
item "Delete":
	const SplitText2 = splitText(@File)
	chooseFromList(SplitText2)
	replaceText(, "", @File, true, false)
	const UpdatedText1 = replaceText("(?m)^\s*[\r\n]+", "", true)
	saveFile("clipboard.txt", UpdatedText1, true)
item "Exit":
	stop()
}
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 arirafiq

See All

You Might Also Like

See All
Advertisement