ShareShortcuts
Fork “Imgur Uploader”

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 r951236958 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
56K
Saved
1
Actions
12
Category
Photos and videos
Version
1.0
Language
EN

Choose the photos or get the most recent, it will be uploaded to imgur and copy the image url to clipboard.

What's New

Version 1.0

First release

Version History
1.0 Sep 30, 2020

First release

What it does

12 actions
  1. Choose from Menu
    Imgur Uploader
  2. Choose from Menu
    選擇上傳項目
  3. Select Photos
  4. Imgur Upload
  5. Combine Text
  6. Copy to Clipboard
  7. Choose from Menu
    最近項目
  8. Get Latest Photos
  9. Imgur Upload
  10. Combine Text
  11. Copy to Clipboard
  12. Show Notification
    圖片網址已複製到剪貼簿 ------------------ …

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/photos'
#define color teal
#define glyph duplicate


const 4 = menu "Imgur Uploader" {
item "選擇上傳項目":
	const  = selectPhotos(true)
	rawAction("is.workflow.actions.imgur.upload", {
		"WFImgurAnonymous": false,
		"WFImgurDirectLink": false,
		"WFInput": ""
	})
	const 1 = joinText([map[Value:map[attachmentsByRange:map[{0, 1}:map[OutputName:Imgur URL OutputUUID:15095AB2-CD0B-4631-BA57-DE220C72404E Type:ActionOutput]] string:] WFSerializationType:WFTextTokenString] ])
	setClipboard(1, true)
item "最近項目":
	const 2 = getLatestPhotos(0)
	rawAction("is.workflow.actions.imgur.upload", {
		"WFImgurAnonymous": false,
		"WFImgurDirectLink": false,
		"WFInput": "2"
	})
	const 3 = joinText(ImgurURL)
	setClipboard(3, true)
}
showNotification("圖片網址已複製到剪貼簿\n------------------\n{4}", 4)
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

You Might Also Like

See All
Advertisement