ShareShortcuts

lnk.pw

You can shot any link with lnk.pw(https://lnk.pw) ---

yas8p
Bifurcar “lnk.pw”

¿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 yas8p 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
37
Categoría
API
Versión
1.0
Idioma
EN

You can shot any link with lnk.pw


Novedades

Versión 1.0

First release

Historial de versiones
1.0 15 de may. de 2021

First release

Qué hace

37 acciones
  1. Text
  2. If
  3. If
  4. Show Result
  5. Stop This Shortcut
  6. If
  7. Show Result
  8. Stop This Shortcut
  9. Choose from Menu
    lnk.pw - Twitter:Yas8p
  10. Choose from Menu
    Custom URLs
  11. Ask for Input
    lnk.pw/**
  12. Replace Text
  13. Text
  14. Choose from Menu
    Random
  15. Get Contents of URL
    http://2g.be/twitch/randomnumber.php?=defstart=1&defend=999
  16. Get Numbers from Input
  17. Split Text
  18. Get Item from List
  19. Text
  20. Get Contents of URL
    …
  21. If
  22. Replace Text
  23. If
  24. Get Dictionary from Input
  25. If
  26. Get Contents of URL
    http://www.randomnumberapi.com/api/v1.0/random?min=1&max=30&count=1
  27. Get Numbers from Input
  28. Get Contents of URL
    https://api.lnk.pw/1.0/public/lnk.pw/link?long=…&custom=……
  29. Set Variable
    result
  30. Get Dictionary Value
  31. Vibrate Device
  32. If
  33. Get Dictionary Value
  34. Copy to Clipboard
  35. If
  36. Get Dictionary Value
  37. Show Alert
    Error

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.

#define mac false
#include 'actions/web'
#include 'actions/text'
#define color yellow
#define glyph compass


if  contains "http" {
	if  contains "lnk.pw" {
		show("You can’t short link twice.")
		stop()
	}
} else {
	show("No link!\ncopy link please.")
	stop()
}

menu "lnk.pw - Twitter:Yas8p" {
item "Custom URLs ":
	const  = prompt("lnk.pw/**")
	const Space = replaceText(" ", "", true)
item "Random":
	const randomnumber = downloadURL("http://2g.be/twitch/randomnumber.php?=defstart=1&defend=999")
	const 3 = getNumbers(randomnumber)
	const SplitText = splitText("qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM", "")
	const AZ = getListItem(SplitText, 0)
}
const ContentsOfURL = downloadURL()

if Space {
	const UpdatedText = replaceText("https://lnk.pw/", "", ContentsOfURL['link'], true)
	if UpdatedText == Space {
		getDictionary(ContentsOfURL)
	} else {
		const ContentsOfURL1 = downloadURL("http://www.randomnumberapi.com/api/v1.0/random?min=1&max=30&count=1")
		getNumbers(ContentsOfURL1)
		downloadURL("https://api.lnk.pw/1.0/public/lnk.pw/link?long={Clipboard}&custom={Space}{}")
	}
}
@result
const DictionaryValue = getValue(@result, "status")
vibrate()

if DictionaryValue == "ok" {
	const DictionaryValue1 = getValue(@result, "link")
	setClipboard(DictionaryValue1, true)
} else {
	alert(, "Error")
}
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 yas8p

Ver todo

También te puede gustar

Ver todo
Publicidad