Preview
It's that simple. This shortcut will search for something, and that's it, but you can choose to open it in Chrome or your default browser! That's it.
What's New
Version 1.0
First release
What it does
6 actions-
Ask for InputWhat do you search for? (Google)
-
Choose from MenuDo you want to open it in Chrome?
-
Choose from Menuyes
-
Search In Chromecom.google.chrome.ios
-
Choose from Menuno has normal
-
Search Web
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 red
#define glyph magnifyingGlass
prompt("What do you search for? (Google)", false)
menu "Do you want to open it in Chrome?" {
item "yes":
rawAction("com.google.chrome.ios.SearchInChromeIntent", {
"searchPhrase": "{}"
})
item "no has normal":
searchWeb("")
}
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 nipponcreatorj
You Might Also Like
Advertisement