Mit dem iPhone scannen, um zu installieren
This shortcut randomly generates art. Here are photos of the different types of art it makes
Neue Funktionen
Version 1.0
First release
Was er macht
19 Aktionen-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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)
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
Mehr von oliveranimates7
Das gefällt dir vielleicht auch
Werbung