Scan with your iPhone to install
Preview
This shortcut mimics a bacteriophage from irl
What's New
Version 1.0
First release
What it does
11 actions-
Repeat
-
Repeat
-
Add to Home Screen
-
Repeat
-
Create Workflowcom.apple.shortcuts
-
Add to Home Screen
-
Create Shortcuti Cloud Linkcom.apple.shortcuts
-
Copy to Clipboard
-
Repeat
-
Add to Home Screen
-
Wait
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define color green
#define glyph syringe
repeat _ for 4 {
repeat _ for 20 {
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"image": "",
"shortcut": "",
"title": "Bacteriophage"
})
}
repeat _ for 11 {
const CreateShortcut = makeShortcut("bacteriophage copies")
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"image": "",
"shortcut": "CreateShortcut",
"title": "Bacteriophage"
})
}
const CreateICloudLinkForShortcut = createShortcutLink()
setClipboard(CreateICloudLinkForShortcut)
repeat _ for 20 {
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"image": "",
"shortcut": "",
"title": "Copies"
})
}
wait(0)
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by lhazelhayesispeak
You Might Also Like
Advertisement