ShareShortcuts
Bifurcar “URL’s”

¿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 hunter9888x 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
64K
Guardado
2
Acciones
63
Categoría
Utilities
Versión
1.0
Idioma
EN

Handy URL shortcuts

RoutineHub Link Different options in a compact shortcut. - Shorten - Expand - Open - Upload File - Upload Image

Novedades

Versión 1.0

First release

Historial de versiones
1.0 8 de dic. de 2019

First release

Qué hace

63 acciones
  1. Choose from Menu
  2. Choose from Menu
    Expand
  3. Get Clipboard
  4. Get URLs from Input
  5. Expand URL
  6. Copy to Clipboard
  7. Choose from Menu
    Shorten
  8. Get Clipboard
  9. Get URLs from Input
  10. Set Variable
    Original
  11. Choose from Menu
    Choose an URL:
  12. Choose from Menu
    kutt.it
  13. URL
    https://kutt.it/api/url/submit
  14. Get Contents of URL
    …
  15. Get Dictionary Value
  16. Choose from Menu
    tiny.ph
  17. URL
    http://tiny.ph/api/url/create
  18. Get Contents of URL
    …
  19. Get Dictionary Value
  20. URL
    http://tiny.ph/…
  21. Choose from Menu
    tinyurl.com
  22. URL
    http://tinyurl.com/api-create.php?url=…
  23. Get Contents of URL
    …
  24. Choose from Menu
    bit.ly
  25. URL
    http://api.bit.ly/v3/shorten?login=workflowshortener&apiKey=R_83dbcc3a4ace484883066fe63d76580f&longURL=…
  26. Get Contents of URL
    …
  27. Get Dictionary Value
  28. Get Dictionary Value
  29. Get Variable
  30. Copy to Clipboard
  31. Choose from Menu
    Upload
  32. Choose from Menu
  33. Choose from Menu
    Image
  34. Select Photos
  35. Imgur Upload
  36. Copy to Clipboard
  37. Choose from Menu
    File
  38. Get File
  39. Get Link to File
  40. Copy to Clipboard
  41. Choose from Menu
    Open
  42. Get Clipboard
  43. Get URLs from Input
  44. Open URLs
  45. Choose from Menu
    Reddit
  46. Choose from Menu
  47. Choose from Menu
    Open in Apollo
  48. If
  49. Get URLs from Input
  50. Replace Text
  51. Open URLs
  52. If
  53. Show Alert
    D’oh
  54. Choose from Menu
    View deleted comments
  55. Set Variable
    Urlfull
  56. Get Component of URL
  57. Set Variable
    Path
  58. Get Component of URL
  59. Replace Text
  60. Set Variable
    Host
  61. Text
  62. Open URLs
  63. Stop This Shortcut

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/sharing'
#define color blue
#define glyph compass


const ResultaatMenu = menu nil {
item "Expand":
	getClipboard()
	getURLs()
	const ExpandedURL = expandURL()
	setClipboard(ExpandedURL)
item "Shorten":
	getClipboard()
	getURLs()
	@Original
	menu "Choose an URL:" {
	item "kutt.it":
		url("https://kutt.it/api/url/submit")
		const ContentsOfURL = jsonRequest(, "POST", {
			"target": "{@Original}"
		}, {
			"X-API-Key": "uozEMj7pNT6ywmiCM9FY45pHVQ3J9HH6dJvElxCM"
		})
	item "tiny.ph":
		url("http://tiny.ph/api/url/create")
		const ContentsOfURL1 = formRequest(, "POST", {
			"url": "{@Original}"
		})
		url("http://tiny.ph/{['hash']}")
	item "tinyurl.com":
		url("http://tinyurl.com/api-create.php?url={@Original}")
		downloadURL()
	item "bit.ly":
		url("http://api.bit.ly/v3/shorten?login=workflowshortener&apiKey=R_83dbcc3a4ace484883066fe63d76580f&longURL={@Original}")
		const ContentsOfURL2 = downloadURL()
		const DictionaryValue = getValue(ContentsOfURL2, "data")
	}
	// TODO: Get Variable not supported: Assign variable here to 'ResultaatMenu'.
	setClipboard(ResultaatMenu)
item "Upload":
	menu nil {
	item "Image":
		const Photos = selectPhotos()
		rawAction("is.workflow.actions.imgur.upload", {
			"WFImgurAnonymous": true,
			"WFImgurDirectLink": true,
			"WFImgurTitle": "{CurrentDate}",
			"WFInput": "Photos"
		})
		setClipboard(ImgurURLs)
	item "File":
		const File = getFile("")
		const LinkToFile = getFileLink(File)
		setClipboard(LinkToFile)
	}
item "Open":
	getClipboard()
	const URLs = getURLs()
	openURL(URLs)
item "Reddit":
	menu nil {
	item "Open in Apollo":
		if ShortcutInput contains "reddit.com" {
			getURLs(ShortcutInput)
			const UpdatedText = replaceText(".+?(?=reddit\.com)", "apollo://", false, true)
			openURL(UpdatedText)
		} else {
			alert("That’s not a reddit link!", "D’oh")
		}
	item "View deleted comments":
		@Urlfull = ShortcutInput
		getURLDetail(@Urlfull, "Path")
		@Path
		getURLDetail(@Urlfull, "Host")
		replaceText("reddit", "removeddit", false, false)
		@Host
		const Text = "{@Host}{@Path}"
		openURL(Text)
	}
}
stop()
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 hunter9888x

Ver todo

También te puede gustar

Ver todo
Publicidad