Forhåndsvisning
https://www.icloud.com/shortcuts/eff4ebdd30f045e78bd1aa6840db22b1
If you found this shortcut, please use this to install it!
Nyheder
Version 1.0
First release
Hvad den gør
27 handlinger-
Text
-
Set Name
-
Get Contacts from Input
-
Choose from List
-
Get Details of Contacts
-
If
-
Open URLs
-
If
-
If
-
Open URLs
-
If
-
If
-
Open URLs
-
If
-
If
-
Open URLs
-
If
-
If
-
Show Result
-
If
-
If
-
Choose from MenuSettings
-
Choose from MenuVersion
-
Show Result
-
Choose from MenuAbout
-
Show Result
-
If
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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 {
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra vultario
Du vil måske også kunne lide
Annonce