How to send WhatsApp Message automatically using python for impress someone

9 months ago 84
BOOK THIS SPACE FOR AD
ARTICLE AD

How to send WhatsApp Message automatically using python for impress someone

Hi ,Horbio this side

I think you wanna impress someone to send a message in WhatsApp without any delay using the python script. Don’t worry I am here . I will tell you about this trick .

First of all we need a few python libraries pyautogui and time

Install this library using this command :

$pip install pyautogui

After that we need to import this library.

We find the position of the text box of telegram or WhatsApp where we insert the message. The code of find position of text box is :

import pyautogui
import time

t.sleep(2)
print(p.position()

When we find the coordinates of the text box now the final code is here

import pyautogui
import time

t.sleep(2)
p.click(234,654)
p.typewriter("Don't forget to follow ")
p.hotkey('enter')

This is the final code of sending messages in WhatsApp and telegram. It works only one time we need to run a loop over there to send unlimited time messages .

import pyautogui
import time

while True:
t.sleep(2)
p.click(234,654)
p.typewriter("Don't forget to follow ")
p.hotkey('enter')

If you want to send a message for a specific time so you can use for loop.

import pyautogui
import time

for i in range(1,10):
t.sleep(2)
p.click(234,654)
p.typewriter("Don't forget to follow ")
p.hotkey('enter')

I hope you understand every step .

We will meet in the next article .

Byy byy

Read Entire Article