ShareShortcuts
Fazer fork de “Stream Anywhere”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que vultario receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
36K
Salvo
0
Ações
27
Categoria
Streaming
Versão
1.0
Idioma
EN

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

Histórico de versões
1.0 8 de jan de 2023

First release

O que ele faz

27 ações
  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

Ver como código
Beta

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

Ver tudo

Você também pode gostar

Ver tudo
Publicidade