ShareShortcuts
Fazer fork de “Robo Shorten”

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 m2robot 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
55K
Salvo
2
Ações
49
Categoria
Utilities
Versão
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.

Novidades

Versão 2.0

- bugs fixes - add is.gd shortener option.

Histórico de versões
2.0 10 de set de 2021

- bugs fixes - add is.gd shortener option.

1.0 10 de set de 2021

First release

O que ele faz

49 ações
  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 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'
#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 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 m2robot

Ver tudo

Você também pode gostar

Ver tudo
Publicidade