Scan with your iPhone to install
iSearch Concept
What's New
Version 1.0
First release
What it does
19 actions-
Text
-
Search App Store
-
Choose from List
-
Set VariableSelected
-
Set VariableIcon
-
Dictionary
-
Dictionary
-
Filter Files
-
Repeat with Each
-
Search App Store
-
Set VariableImage
-
Get Dictionary Value
-
Set VariableLink
-
Text
-
Text
-
Base64 Encode
-
URLdata:text/html;base64,…
-
Open URLs
-
Show NotificationAdd this site to the homescreen(type iSearch and tap Add)
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#include 'actions/media'
#define glyph magnifyingGlass
const AppStoreApps = searchAppStore("Safari")
chooseFromList(AppStoreApps, "Press Safari to continue.")
@Selected
@Icon = @Selected
const Dicionar = {}
const Fiiere = filterFiles(Dicionar['Keys'], 1, "Name", "A to Z")
for _ in Fiiere {
searchAppStore(@RepeatItem)
@Image = ['Artwork URL']
@Link = Dicionar[@RepeatItem]
}
const Text = "<html>\n<head>\n<title></title>\n<link rel=\\"apple-touch-icon\\" sizes=\\"77px x 77px\\" href=\\"{@Icon}\\">\n\n <meta http-equiv=\\"Content-Type\\" content=\\"text/html; charset=UTF-8\\">\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\\" />\n <meta name=\\"apple-mobile-web-app-capable\\" content=\\"yes\\">\n <meta name=\\"apple-mobile-web-app-status-bar-style\\" content=\\"black-translucent\\">\n\n<style>\nbody {background: #F8F8FF; font: -apple-system-headline; padding: 20px;}\n\nh1 {font-size: 34pt; font-weight: bold;}\nh2 {background: #eaeaed; padding: 30px; border-radius: 20px;}\n\nImg {border-radius: 50%; margin: 20px; height: 77px; width: 77px;}\n\n</style>\n</head>\n<body>\n<h1></h1>\n{}\n </div>\n</form>\n\n<img src=dot.gif height=1 width=20>\n<p id=\\"rcorners\\">\n</style>\n<h2>iSearch</h2>\n<ul>\n</ul>\n</p>\n</body>\n</html>\n<form method=\\"get\\" action=\\"http://www.bing.com/search\\">\n<div style=\\"padding:26px;width:17em;\\">\n <table border=\\"1\\" align=\\"center\\" cellpadding=\\"5\\">\n <tr><td>\n <input type=\\"text\\" name=\\"q\\" size=\\"40\\" style=\\"color:#808080;\\"\n maxlength=\\"255\\" value=\\"Bing\\"\n onfocus=\\"if(this.value==this.defaultValue)this.value=''; this.style.color='black';\\" onblur=\\"if(this.value=='')this.value=this.defaultValue; \\"/>\n <input type=\\"submit\\" value=\\"Search🔍!\\" />\n <input type=\\"hidden\\" name=\\"bingsearch\\" value=\\".\\" /></td></tr>\n </table>\n<img src=dot.gif height=2 width=30>\n\n"
base64Encode(Text)
const URL = url("data:text/html;base64,{}")
openURL(URL)
showNotification("Add this site to the homescreen(type iSearch and tap Add)", URL)
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 outlander-2007
You Might Also Like
Advertisement