Choose the photos or get the most recent, it will be uploaded to imgur and copy the image url to clipboard.
Neue Funktionen
Version 1.0
First release
Was er macht
12 Aktionen-
Choose from MenuImgur Uploader
-
Choose from Menu選擇上傳項目
-
Select Photos
-
Imgur Upload
-
Combine Text
-
Copy to Clipboard
-
Choose from Menu最近項目
-
Get Latest Photos
-
Imgur Upload
-
Combine Text
-
Copy to Clipboard
-
Show Notification圖片網址已複製到剪貼簿 ------------------ …
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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)
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Das gefällt dir vielleicht auch
Werbung