ShareShortcuts

lnk.pw

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

yas8p
„lnk.pw“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit yas8p die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
53K
Gesichert
2
Aktionen
37
Kategorie
API
Version
1.0
Sprache
EN

You can shot any link with lnk.pw


Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 15. Mai 2021

First release

Was er macht

37 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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 = getFirstItem(SplitText)
}
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")
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von yas8p

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung