ShareShortcuts

iSearch Concept

iSearch Concept

outlander-2007
Fork “iSearch Concept”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so outlander-2007 gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
44K
Saved
0
Actions
19
Category
API
Version
1.0
Language
EN

iSearch Concept

What's New

Version 1.0

First release

Version History
1.0 Jan 18, 2022

First release

What it does

19 actions
  1. Text
  2. Search App Store
  3. Choose from List
  4. Set Variable
    Selected
  5. Set Variable
    Icon
  6. Dictionary
  7. Dictionary
  8. Filter Files
  9. Repeat with Each
  10. Search App Store
  11. Set Variable
    Image
  12. Get Dictionary Value
  13. Set Variable
    Link
  14. Text
  15. Text
  16. Base64 Encode
  17. URL
    data:text/html;base64,…
  18. Open URLs
  19. Show Notification
    Add this site to the homescreen(type iSearch and tap Add)

View as code
Beta

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

See All

You Might Also Like

See All
Advertisement