ShareShortcuts

Apple iSearch Concept

iSearch

outlander2007
„Apple iSearch Concept“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit outlander2007 die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
44K
Gesichert
0
Aktionen
19
Kategorie
Productivity
Version
1.0
Sprache
EN

iSearch

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 10. Jan 2022

First release

Was er macht

19 Aktionen
  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)

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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)
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von outlander2007

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung