Mit dem iPhone scannen, um zu installieren
This is for making app icons
Neue Funktionen
Version 1.0
First release
Was er macht
23 Aktionen-
Choose from MenuWhat type of gradient
-
Choose from Menutop to bottom
-
Ask for InputEnter a hex value
-
Ask for InputEnter another hex value
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Choose from Menuleft to right
-
Ask for InputEnter a hex value
-
Ask for InputEnter another hex value
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Choose from Menutop left to bottom right
-
Ask for InputEnter a hex value
-
Ask for InputEnter another hex value
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Choose from Menutop right to bottom left
-
Ask for InputEnter a hex value
-
Ask for InputEnter another hex value
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Ask for InputEnter the name of an SF symbol
-
Ask for InputEnter a third hex value
-
Symbol Imagecom.sindresorhus.Actions
-
Overlay Image
-
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
const MenuResult = menu "What type of gradient " {
item "top to bottom":
prompt("Enter a hex value")
prompt("Enter another hex value")
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"endColor": "#{}",
"height": "1024",
"startColor": "#{}",
"width": "1024"
})
item "left to right":
prompt("Enter a hex value")
prompt("Enter another hex value")
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"direction": "leftToRight",
"endColor": "#{}",
"height": "1024",
"startColor": "#{}",
"width": "1024"
})
item "top left to bottom right":
prompt("Enter a hex value")
prompt("Enter another hex value")
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"direction": "diagonalTopLeftToBottomRight",
"endColor": "#{}",
"height": "1024",
"startColor": "#{}",
"width": "1024"
})
item "top right to bottom left ":
prompt("Enter a hex value")
prompt("Enter another hex value")
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"direction": "diagonalTopRightToBottomLeft",
"endColor": "#{}",
"height": "1024",
"startColor": "#{}",
"width": "1024"
})
}
prompt("Enter the name of an SF symbol")
prompt("Enter a third hex value ")
rawAction("com.sindresorhus.Actions.SymbolImageIntent", {
"AppIntentDescriptor": "",
"color": "#{}",
"symbolName": "{}"
})
const OverlaidImage = customImageOverlay(MenuResult, SFSymbolImage)
quicklook(OverlaidImage)
savePhoto(OverlaidImage)
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