Pré-visualização
https://www.icloud.com/shortcuts/eff4ebdd30f045e78bd1aa6840db22b1
If you found this shortcut, please use this to install it!
Novidades
Versão 1.0
First release
O que ele faz
27 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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 {
}
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de vultario
Você também pode gostar
Publicidade