Choose the photos or get the most recent, it will be uploaded to imgur and copy the image url to clipboard.
Nouveautés
Version 1.0
First release
Ce qu’il fait
12 actions-
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圖片網址已複製到剪貼簿 ------------------ …
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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)
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Ça pourrait aussi te plaire
Publicité