ShareShortcuts

iSearch Concept

iSearch Concept

outlander-2007
Dupliquer « iSearch Concept »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que outlander-2007 soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
44K
Enregistré
0
Actions
19
Catégorie
API
Version
1.0
Langue
EN

iSearch Concept

Nouveautés

Version 1.0

First release

Historique des versions
1.0 18 janv. 2022

First release

Ce qu’il fait

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)

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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)
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de outlander-2007

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité