Scanne avec ton iPhone pour installer
This shortcut randomly generates art. Here are photos of the different types of art it makes
Nouveautés
Version 1.0
First release
Ce qu’il fait
19 actions-
Random Colorcom.sindresorhus.Actions
-
Random Colorcom.sindresorhus.Actions
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
List
-
Get Item from List
-
Overlay Text
-
List
-
Get Item from List
-
Overlay Text
-
List
-
Get Item from List
-
Overlay Text
-
Find Photos
-
Symbol Imagecom.sindresorhus.Actions
-
Take Photo
-
List
-
Combine Images
-
Quick Look
-
Save to Photo Album
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.
#define color red
rawAction("com.sindresorhus.Actions.RandomColorIntent", {
"AppIntentDescriptor": ""
})
rawAction("com.sindresorhus.Actions.RandomColorIntent", {
"AppIntentDescriptor": ""
})
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"endColor": "{}",
"height": "1024",
"startColor": "{}",
"width": "1024"
})
const List = list("e", "a", "s", "n", "o", "c", "r")
getFirstItem(List)
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "GradientColorImage",
"WFPercentageFontSize": 0.5059999823570251,
"WFText": "{}",
"WFTextPosition": "Middle Left",
"WFTextRotation": "0"
})
const List1 = list("☆", "♪", "□", "○", "♡", "¥")
getLastItem(List1)
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "ImageWithText",
"WFPercentageFontSize": 0.4399999976158142,
"WFText": "{}",
"WFTextRotation": "0"
})
const List2 = list("/", "|", "\", "+")
getListItems(List2, 0, 0)
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "ImageWithText1",
"WFPercentageFontSize": 0.4560000002384186,
"WFText": "{}",
"WFTextPosition": "Middle Right",
"WFTextRotation": "0"
})
rawAction("is.workflow.actions.filter.photos", {
"WFContentItemFilter": "",
"WFContentItemLimitEnabled": true,
"WFContentItemLimitNumber": 1,
"WFContentItemSortProperty": "Random"
})
rawAction("com.sindresorhus.Actions.SymbolImageIntent", {
"AppIntentDescriptor": "",
"color": "#000000",
"symbolName": "eye.fill"
})
takePhoto(1, true)
const List3 = list(, , , )
rawAction("is.workflow.actions.image.combine", {
"WFImageCombineMode": "Ask",
"WFInput": "List3"
})
quicklook(CombinedImage)
savePhoto(CombinedImage)
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é
Plus de oliveranimates7
Ça pourrait aussi te plaire
Publicité