ShareShortcuts
Bifurcar “Robo Shorten”

¿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 m2robot 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
55K
Guardado
2
Acciones
49
Categoría
Utilities
Versión
2.0
Idioma
EN

Robo Shortener utility tools used for shortening links (urls), Just make sure you run it on a url or stored on your clipboard otherwise you have to write your link.

Novedades

Versión 2.0

- bugs fixes - add is.gd shortener option.

Historial de versiones
2.0 10 de sep. de 2021

- bugs fixes - add is.gd shortener option.

1.0 10 de sep. de 2021

First release

Qué hace

49 acciones
  1. Comment
    Robo Shortener is a utility shortcut tools used for shorten links (url) Example : Actual url > https://www.mrrobot.ga/ lnk.pw > https://lnk.pw/tlyj is.gd > https://is.gd/hte9bA
  2. Comment
    The website's ownership goes back to lnk.pw && Is.gd -
  3. Dictionary
  4. Dictionary
  5. Text
  6. Choose from List
  7. Comment
    - lnk.pw started
  8. If
  9. If
  10. Get URLs from Input
  11. Set Variable
    in.url
  12. If
  13. If
  14. Get Clipboard
  15. If
  16. Get URLs from Input
  17. Set Variable
    in.url
  18. If
  19. Ask for Input
    It seems you don’t have any stored url, Write below.
  20. Get URLs from Input
  21. Set Variable
    in.url
  22. If
  23. URL Encode
  24. Text
  25. Get Contents of URL
    …
  26. Get Text from Input
  27. Set Variable
    output
  28. Get Dictionary Value
  29. If
  30. Get Dictionary Value
  31. Copy to Clipboard
  32. Show Notification
  33. If
  34. Get Dictionary Value
  35. Show Notification
  36. Stop This Shortcut
  37. If
  38. Comment
    - is.gd started
  39. If
  40. If
  41. Get Clipboard
  42. Text
  43. Get Contents of URL
    …
  44. Get Text from Input
  45. Get URLs from Input
  46. Copy to Clipboard
  47. Show Notification
  48. Stop This Shortcut
  49. Comment
    - end

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'
#define color blue
#define glyph chainlink

/*
Robo Shortener is a utility shortcut tools used for shorten links (url) 
Example : 
Actual url > https://www.mrrobot.ga/
lnk.pw > https://lnk.pw/tlyj
is.gd > https://is.gd/hte9bA
*/
/*
The website's ownership goes back to 
lnk.pw && Is.gd
-
*/
const Dictionary = {
	"is.gd": "https://is.gd/code",
	"lnk.pw": "https://lnk.pw/code"
}
const ChosenItem = chooseFromList(Dictionary, "Choose one option : ")
// - lnk.pw started


if ChosenItem == "https://lnk.pw/code" {
	if ShortcutInput contains "http" {
		getURLs(ShortcutInput)
		@inurl
	} else {
		if !ShortcutInput {
			getClipboard()
			if  contains "http" {
				getURLs()
				@inurl
			} else {
				prompt("It seems you don’t have any stored url, Write below.", "URL")
				getURLs()
				@inurl
			}
		} else {
		}
	}
	const MainURL = urlEncode(@inurl)
	const script = "https://api.lnk.pw/1.0/public/lnk.pw/link?long={MainURL}"
	const webScript = downloadURL(script)
	getText(webScript)
	@output
	const DictionaryValue = getValue(@output, "status")
	if DictionaryValue == "ok" {
		const DictionaryValue1 = getValue(@output, "link")
		setClipboard(DictionaryValue1, true)
		showNotification("", "Done, shorten link has been copied!", false)
	} else {
		const DictionaryValue2 = getValue(@output, "error_str")
		showNotification("", "Error, invalid url type make sure you have the right one!", false, DictionaryValue2)
	}
	stop()
} else {
	// - is.gd started

	if ShortcutInput contains "http" {
	} else {
		getClipboard()
	}
	const ContentsOfURL = downloadURL()
	getText(ContentsOfURL)
	const URLs = getURLs()
	setClipboard(URLs)
	showNotification("", "Done, shorten link has been copied!", false, URLs)
	stop()
}
// - end
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 m2robot

Ver todo

También te puede gustar

Ver todo
Publicidad