ShareShortcuts

Webclip Maker

Create full screen web apps

outlander2007
„Webclip Maker“ 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
45K
Gesichert
0
Aktionen
15
Kategorie
API
Version
1.0
Sprache
EN

Create full screen web apps.

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 10. Jan 2022

First release

Was er macht

15 Aktionen
  1. Random Number
  2. Ask for Input
    Website name (required)
  3. Ask for Input
    Enter your username(optional)
  4. Ask for Input
    Description (optional)
  5. Ask for Input
    Name to appear on home-screen (optional)
  6. If
  7. Text
  8. Ask for Input
    Enter URL (required)
  9. Show Alert
    Icon
  10. Select Photos
  11. Base64 Encode
  12. Text
  13. Base64 Encode
  14. URL
    data:application/x-apple-aspen-config;base64,…
  15. Open URLs

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/photos'
#define color teal
#define glyph paperclip

randomNumber(1000000, 9999999)
const ProfileName = prompt("Website name (required)")
prompt("Enter your username(optional)")
prompt("Description (optional)")
const ProvidedInput = prompt("Name to appear on home-screen (optional)")

const Label = if !ProvidedInput {
}
const URL = prompt("Enter URL (required)")
alert("On the next screen add an icon from your photos.", "Icon")
const Photos = selectPhotos()
const Icon = base64Encode(Photos)
const Text = "\t\t\t<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\n<!DOCTYPE plist PUBLIC \\"-//Apple//DTD PLIST 1.0//EN\\" \\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\\">\n<plist version=\\"1.0\\">\n<dict>\n\t<key>PayloadContent</key>\n\t<array>\n\t\t<dict>\n\t\t\t<key>FullScreen</key>\n\t\t\t<true/>\n\t\t\t<key>Icon</key>\n\t\t\t<data>\n{Icon}\n\t\t\t</data>\n<key>IsRemovable</key>\n\t\t\t<true/>\n\t\t\t<key>Label</key>\n\t\t\t<string>{Label}</string>\n\t\t\t<key>PayloadDescription</key>\n\t\t\t<string>{}</string>\n\t\t\t<key>PayloadDisplayName</key>\n\t\t\t<string>{ProfileName}</string>\n\t\t\t<key>PayloadIdentifier</key>\n\t\t\t<string>{}</string>\n\t\t\t<key>PayloadOrganization</key>\n\t\t\t<string>{}</string>\n\t\t\t<key>PayloadType</key>\n\t\t\t<string>com.apple.webClip.managed</string>\n\t\t\t<key>PayloadUUID</key>\n\t\t\t<string>{}</string>\n\t\t\t<key>PayloadVersion</key>\n\t\t\t<integer>1</integer>\n\t\t\t<key>Precomposed</key>\n\t\t\t<true/>\n\t\t\t<key>URL</key>\n\t\t\t<string>{URL}</string>\n\t\t</dict>\n\t</array>\n\t<key>PayloadDescription</key>\n\t<string>{}</string>\n\t<key>PayloadDisplayName</key>\n\t<string> {ProfileName}</string>\n\t<key>PayloadIdentifier</key>\n\t<string>appicon.{ProfileName}</string>\n\t<key>PayloadOrganization</key>\n\t<string>{}</string>\n\t<key>PayloadRemovalDisallowed</key>\n\t<false/>\n\t<key>PayloadType</key>\n\t<string>Configuration</string>\n\t<key>PayloadUUID</key>\n\t<string>{}</string>\n\t<key>PayloadVersion</key>\n\t<integer>1</integer>\n</dict>\n</plist>"
base64Encode(Text)
const URL1 = url("data:application/x-apple-aspen-config;base64,{}")
openURL(URL1)
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