ShareShortcuts

Shortweb

TinyWeb, with favorites

turtle
Bifurcar “Shortweb”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que turtle reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
53K
Guardado
2
Acciones
52
Categoría
API
Versión
1.0
Idioma
EN

TinyWeb, with favorites

Novedades

Versión 1.0

First release

Historial de versiones
1.0 24 de ene. de 2021

First release

Qué hace

52 acciones
  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 las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo 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 en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de turtle

Ver todo

También te puede gustar

Ver todo
Publicidad