ShareShortcuts

Shortweb

TinyWeb, with favorites

turtle
Fazer fork de “Shortweb”

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 turtle 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
53K
Salvo
2
Ações
52
Categoria
API
Versão
1.0
Idioma
EN

TinyWeb, with favorites

Novidades

Versão 1.0

First release

Histórico de versões
1.0 24 de jan de 2021

First release

O que ele faz

52 ações
  1. Dictionary
  2. Set Variable
    Properties
  3. Text
  4. Set Variable
    Favorites
  5. Get File
  6. Set Variable
    language
  7. If
  8. Show Alert
  9. Choose from Menu
    Language Selection
  10. Choose from Menu
    English (US)
  11. Text
  12. Choose from Menu
    English (UK)
  13. Text
  14. Create Folder
  15. Save File
  16. Run Shortcut
  17. If
  18. Text
  19. If
  20. Text
  21. Choose from Menu
    🌐 Shortweb 🌐
  22. Choose from Menu
    Open URL
  23. URL
    …
  24. If
  25. Replace Text
  26. Set Variable
    ShortwebCommand
  27. If
  28. Text
  29. Quick Look
  30. Run Shortcut
  31. If
  32. If
  33. Text
  34. Quick Look
  35. Run Shortcut
  36. If
  37. If
  38. Show Web Page
  39. Wait to Return
  40. Run Shortcut
  41. Choose from Menu
    favorites
  42. Split Text
  43. Choose from List
  44. Show Web Page
  45. Run Shortcut
  46. Choose from Menu
    Join the BETA program!
  47. Get Contents of URL
    simplecuts.glitch.me/apps/Shortweb/beta.plist
  48. Set Name
  49. Get Link to File
  50. Get Component of URL
  51. Text
  52. Open URLs

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/text'
#include 'actions/documents'
#define color lightblue
#define glyph globe

@Properties = {
	"Name": "Shortweb",
	"Version": "1.0"
}
@Favorites = "https://www.google.com\nhttps://www.shareshortcuts.com\nhttps://www.routinehub.co"
getFileFromFolder(, "shortweb/data.txt", false)
@language

const MenuResult = if !@language {
	confirm("Hi! Welcome to Shortweb!")
	menu "Language Selection" {
	item "English (US)":
	item "English (UK)":
	}
	createFolder("shortweb/")
	saveFile("shortweb/data.txt", MenuResult)
	runSelf()
}

if @language contains "UK" {
} else {
}

menu "🌐 Shortweb 🌐" {
item "Open URL":
	const URL = url(Ask)
	if URL contains "shortweb:/" {
		replaceText("shortweb:/", "", URL)
		@ShortwebCommand
		if @ShortwebCommand == "help" {
			const Text = "Well, you found this.\nType shortweb:/info for more information.\nYes.\nThats the only command."
			quicklook(Text)
			run(@Properties, nil)
		} else {
			if @ShortwebCommand contains "info" {
				const Text1 = "• Information •\nMade by Simplecuts."
				quicklook(Text1)
				run(@Properties, nil)
			} else {
			}
		}
	} else {
		showWebpage(URL)
		waitToReturn()
		run(@Properties, nil)
	}
item favorites:
	const SplitText = splitText(@Favorites)
	chooseFromList(SplitText)
	showWebpage()
	runSelf()
item :
	const ContentsOfURL = downloadURL("simplecuts.glitch.me/apps/Shortweb/beta.plist")
	const RenamedItem = setName(ContentsOfURL, "Shortweb Beta.shortcut")
	getFileLink(RenamedItem)
	const betaurl = getURLDetail(, "Path")
	const Text2 = "workflow:/{betaurl}"
	openURL(Text2)
}
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 turtle

Ver tudo

Você também pode gostar

Ver tudo
Publicidade