×

Create Icon

iOS 14 +

Notes

Create an icon with a coloured background. Small icons are created directly in Shortcuts, larger icons are generated in the Toolbox Pro app and will be copied to the clipboard. Add a "wait to return" and "get clipboard" action after this one to use it.

Syntax

createIcon(creationMode: <#Enumeration (IconCreationMode)#>, defaultIcons: <#Enumeration (DefaultIcons)#>, bgColour: <#Enumeration (SystemColours)#>, iconColour: <#Enumeration (SystemColours)#>, sfSymbolName: <#String (Allows Variables)#>, emojiName: <#String (Allows Variables)#>, iconColourHex: <#String (Allows Variables)#>, bgColourHex: <#String (Allows Variables)#>, emojiBgColourHex: <#String (Allows Variables)#>, maskType: <#Enumeration (IconMaskType)#>, cornerRadius: <#Integer#>, bgTransparency: <#Double#>, iconSize: <#Integer#>, scale: <#Double#>)

Example

createIcon(creationMode: advanced, defaultIcons: , bgColour: Blue, iconColour: Blue, sfSymbolName: "globe", emojiName: "", iconColourHex: "", bgColourHex: "", emojiBgColourHex: "", maskType: , cornerRadius: , bgTransparency: , iconSize: , scale: )