Отсканируй на iPhone, чтобы установить
Christmas is in one second
Что нового
Версия 1.0
First release
Что делает
Действий: 14-
A X Toggle Background Soundscom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Create Workflowcom.apple.shortcuts
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Overlay Text
-
Overlay Text
-
Add to Home Screen
-
Show Alert
-
Create Workflowcom.apple.shortcuts
-
Create Gradient Color Imagecom.sindresorhus.Actions
-
Overlay Text
-
Overlay Text
-
Add to Home Screen
-
Show Alert
-
Add to Home Screen
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define glyph pineTree
rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXToggleBackgroundSoundsIntent", {})
const CreateShortcut = makeShortcut("Tree", false)
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"endColor": "#006400",
"height": "1024",
"startColor": "#00FF00",
"width": "1024"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "GradientColorImage",
"WFPercentageFontSize": 0.5040000081062317,
"WFText": "|",
"WFTextPosition": "Bottom Center",
"WFTextRotation": "0"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "ImageWithText",
"WFPercentageFontSize": 0.3919999897480011,
"WFText": "△",
"WFTextRotation": "0"
})
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"image": "ImageWithText1",
"shortcut": "CreateShortcut"
})
confirm("Christmas is in one second ")
const CreateShortcut1 = makeShortcut("Present")
rawAction("com.sindresorhus.Actions.CreateGradientColorImageIntent", {
"AppIntentDescriptor": "",
"direction": "diagonalTopRightToBottomLeft",
"endColor": "#8b0000",
"height": "128",
"startColor": "#FF0000",
"width": "128"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "GradientColorImage1",
"WFPercentageFontSize": 0.5720000267028809,
"WFText": "□",
"WFTextRotation": "0"
})
rawAction("is.workflow.actions.overlaytext", {
"WFImage": "ImageWithText2",
"WFPercentageFontSize": 0.3100000023841858,
"WFText": "X",
"WFTextPosition": "Top Center",
"WFTextRotation": "0"
})
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"image": "ImageWithText3",
"shortcut": "CreateShortcut1"
})
confirm("")
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"shortcut": ""
})
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от oliveranimates7
Вам также может понравиться
Реклама