ShareShortcuts

Vearch Prototype Public v0.1

This is the first prototype version of a new browser

vultario
Fazer fork de “Vearch Prototype Public v0.1”

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
42K
Salvo
0
Ações
23
Categoria
Productivity
Versão
1.0
Idioma
EN

This is the first prototype version of a new browser

Novidades

Versão 1.0

First release

Histórico de versões
1.0 7 de mai de 2022

First release

O que ele faz

23 ações
  1. Get IP Address
  2. If
  3. Show Result
  4. Stop This Shortcut
  5. If
  6. Show Result
  7. Ask for Input
    What do you want to vearch? (For settings, type “Settings”.)
  8. If
  9. If
  10. Set Variable
    Web Name
  11. Text
  12. Set Variable
    URL
  13. Get Contents of URL
    …
  14. If
  15. Show Result
  16. Stop This Shortcut
  17. If
  18. Choose from Menu
    Pick one:
  19. Choose from Menu
    Load Basic HTML
  20. Quick Look
  21. Choose from Menu
    Quick Show
  22. Get Text from Input
  23. Show Result

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/network'
#define color darkblue
#define glyph feed

const CurrentIPAddress = getExternalIP()

if !CurrentIPAddress {
	show("Error %1%: No Wi-Fi detected.")
	stop()
} else {
}
show("Hello, nice to see you again!")
const ProvidedInput = prompt("What do you want to vearch? (For settings, type “Settings”.)")

if ProvidedInput == "Settings" {
} else {
}
@WebName = ProvidedInput
@URL = "{@WebName}.com"
const ContentsOfURL = fileRequest(@URL, "GET")

if !ContentsOfURL {
	show("Error 404: Unable to find URL.\nThis could happen because you don't have Wi-Fi or you have typed the wrong name of the website. It could also be because the website is temporarily down or has moved to another address.")
	stop()
} else {
}

menu "Pick one:" {
item "Load Basic HTML":
	quicklook(ContentsOfURL)
item "Quick Show":
	getText(ContentsOfURL)
	show()
}
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