Start a conversation with a phone number on WhatsApp without the need of saving a new contact ⚡️
Novidades
Versão 1.0
First release
O que ele faz
25 ações-
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
Ver como código
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'
#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")
}
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 shorctutsink
Você também pode gostar
Publicidade