ShareShortcuts

Detail

i left this upload page on for a day i feel stupid now

turtle
Fork “Detail”

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 turtle 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
54K
Saved
0
Actions
17
Category
API
Version
1.0
Language
EN

i left this upload page on for a day i feel stupid now

What's New

Version 1.0

First release

Version History
1.0 Jan 8, 2021

First release

What it does

17 actions
  1. Choose from Menu
    … Detail …
  2. Choose from Menu
    Raw text
  3. Ask for Input
    Enter text
  4. Text
  5. Text
  6. Choose from Menu
    Clipboard
  7. Text
  8. Choose from Menu
    File
  9. Get File
  10. Text
  11. Choose from Menu
    (…)
  12. Choose from Menu
    Copy
  13. Copy to Clipboard
  14. Choose from Menu
    Save
  15. Save File
  16. Choose from Menu
    Back
  17. Run Shortcut
    Detail

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/sharing'
#define color red
#define glyph ellipsis


const m = menu "… Detail …" {
item "Raw text":
	prompt("Enter text")
	const d = "The text: {}\nThe file size of the text: {['File Size']}\nThe creation date of the text: {['Creation Date']}\nThe last modified date of the text: {['Last Modified Date']}\nFile extension: {['File Extension']}"
item "Clipboard":
	const d1 = "What is in your clipboard: {Clipboard}\nFile size:{Clipboard['File Size']}\nCopy date: {Clipboard['Creation Date']}\nFile extension: {Clipboard['File Extension']}"
item "File":
	getFileFromFolder(, "")
}

menu "({m})" {
item "Copy":
	setClipboard(m)
item "Save":
	saveFilePrompt(m)
item "Back":
	runSelf()
}
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 turtle

See All

You Might Also Like

See All
Advertisement