top of page

Mouse & Keyboard Bot

This article illustrates how to automate mouse and keyboard movements using pyautogui module in python. This module is not preloaded with python.

So to install it run the following command:

​pip3 install pyautogui

The code shows how to move the mouse using coordinates and send a message in predefined seconds.


import pyautogui as pg import time def codehere():, 979) pg.typewrite("hello") pg.typewrite(["enter"]) time.sleep(2), 896), 896) # time.sleep(1), 859) # time.sleep(1), 669) # time.sleep(1), 605) a = 20 time.sleep(10) while (a != 0): codehere() a = a - 1

You can run the script, open your notepad or WhatsApp and see the message sent.


11 views0 comments

Recent Posts

See All

Edit a website – even if it’s not yours! This is how you can edit any website directly from your browser: #1) Open a Webpage; #2) Right-click on any spot in the website, select “Inspect Element”; #3)

How to encrypt and decrypt files in Python When you need to encrypt text, it is important to understand the different options you have. There are different ways to encrypt text, like using a password,

### 👽⚠️ 𝗧𝗵𝗶𝘀 𝘀𝗰𝗿𝗶𝗽𝘁 𝗶𝘀 𝗷𝘂𝘀𝘁 𝘁𝗵𝗲 𝘁𝗼𝗼𝗹 𝗳𝗼𝗿 𝗲𝗱𝘂𝗰𝗮𝘁𝗶𝗼𝗻𝗮𝗹 𝗮𝗻𝗱 𝘁𝗲𝘀𝘁𝗶𝗻𝗴 𝗽𝘂𝗿𝗽𝗼𝘀𝗲𝘀 ⚠️👽 ### Descriptions: This is script for spamming the message from Wh

bottom of page