Mit dem iPhone scannen, um zu installieren
Start a conversation with a phone number on WhatsApp without the need of saving a new contact ⚡️
Neue Funktionen
Version 1.0
First release
Was er macht
25 Aktionen-
Dictionary
-
Text
-
If
-
Text
-
If
-
Choose from MenuWhat you want to do?
-
Choose from MenuText Phone Number
-
Ask for InputEnter Phone Number
-
Choose from MenuCheck For Update
-
Get My Shortcuts
-
Match Text
-
If
-
Run ShortcutLemon Updater
-
Stop This Shortcut
-
If
-
Show AlertInstaDP
-
Open URLs
-
Stop This Shortcut
-
Match Text
-
If
-
Replace Text
-
URLhttps://wa.me/…
-
Open URLs
-
If
-
Show AlertWhatsapp Direct
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/web'
#include 'actions/shortcuts'
#define color green
#define glyph addMessage
if ShortcutInput {
} else {
menu "What you want to do?" {
item "Text Phone Number":
prompt("Enter Phone Number", "Text")
item "Check For Update":
getShortcuts()
const Matches = containsText(, "Lemon Updater")
if Matches {
run("Lemon Updater", Dictionary)
stop()
} else {
alert("You need to install Lemon Updater shortcut", "InstaDP")
openURL("https://routinehub.co/shortcut/11173/")
stop()
}
}
}
const Matches1 = containsText(, "^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\.0-9]*$")
if Matches1 {
replaceText(" ", "", Matches1)
const URL = url("https://wa.me/{}")
openURL(URL)
} else {
alert("Invalid Phone Number!", "Whatsapp Direct")
}
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 shorctutsink
Das gefällt dir vielleicht auch
Werbung