ShareShortcuts
„Stream Anywhere“ 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 vultario 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
36K
Gesichert
0
Aktionen
27
Kategorie
Streaming
Version
1.0
Sprache
EN

Vorschau

https://www.icloud.com/shortcuts/eff4ebdd30f045e78bd1aa6840db22b1

If you found this shortcut, please use this to install it!

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 8. Jan 2023

First release

Was er macht

27 Aktionen
  1. Text
  2. Set Name
  3. Get Contacts from Input
  4. Choose from List
  5. Get Details of Contacts
  6. If
  7. Open URLs
  8. If
  9. If
  10. Open URLs
  11. If
  12. If
  13. Open URLs
  14. If
  15. If
  16. Open URLs
  17. If
  18. If
  19. Show Result
  20. If
  21. If
  22. Choose from Menu
    Settings
  23. Choose from Menu
    Version
  24. Show Result
  25. Choose from Menu
    About
  26. Show Result
  27. If

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/contacts'
#define color darkblue
#define glyph play

const Text = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Prime Video;;;;\nORG:A streaming service by amazon.;\nURL:https://apps.apple.com/us/app/amazon-prime-video/id545519333\nPHOTO;ENCODING=b:\nEND:VCARD\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Youtube;;;;\nORG:A Video streaming service by Google.;\nURL:https://youtube.com\nPHOTO;ENCODING=b:\nEND:VCARD\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Pluto TV;;;;\nORG:A completely free streaming service.;\nURL: https://apps.apple.com/us/app/pluto-tv-live-tv-and-movies/id751712884\nPHOTO;ENCODING=b:\nEND:VCARD\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Netflix;;;;\nORG:One of the most popular streaming services in the world.;\nURL: https://apps.apple.com/us/app/netflix/id363590051\nPHOTO;ENCODING=b:\nEND:VCARD\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Settings;;;;\nORG:Open Settings.;\nURL:if you read this, touch grass\nPHOTO;ENCODING=b:\nEND:VCARD"
const RenamedItem = setName(Text, "menu.vcf")
const Contacts = getContacts(RenamedItem)
const ChosenItem = chooseFromList(Contacts)
const Name = getContactDetail(ChosenItem, "Name")

if Name == "Pluto TV" {
	openURL("https://apps.apple.com/us/app/pluto-tv-live-tv-and-movies/id751712884")
} else {
}

if Name == "Netflix" {
	openURL("https://apps.apple.com/us/app/netflix/id363590051")
} else {
}

if Name == "Prime Video" {
	openURL("https://apps.apple.com/us/app/amazon-prime-video/id545519333")
} else {
}

if Name == "Youtube" {
	openURL("Youtube.com")
} else {
}

if !Name {
	show("Error 262: VCard error. Please try again later.")
} else {
}

if Name == "Settings" {
	menu "Settings" {
	item "Version":
		show("1.0")
	item "About":
		show("Your #1 streamer.")
	}
} else {
}
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 vultario

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung