• Home
  • PHP
  • MySQL
  • Laravel
  • Demos
  • HTML
  • jQuery
  • Framework
  • Request Tutorial
PHP Lift
  • Home
  • Demos
  • Advertisement
PHP Lift
  • Home
  • PHP
  • MySQL
  • Laravel
  • Demos
  • HTML
  • jQuery
  • Framework
  • Request Tutorial
  • Follow
    • Facebook
    • Twitter
    • Google+
    • Pinterest
    • Youtube
    • Instagram
    • RSS
How do I send an auto-reply message on Skype?
Home
Bot

How do I send an auto-reply message on Skype?

April 29th, 2025 Huzoor Bux Bot, Python, Social 0 comments

Facebook Twitter Google+ LinkedIn Pinterest

As you all know skype doesn’t have any auto-reply feature when you are offline Many organizations use it for customer support and they need that feature when offline. So in this tutorial, I will show you that how you can make a simple skype auto-reply software in Python.

A client asks me to find something for a skype auto-responder I searched on google and found Pamela for skype (Pamela for skype was used to record calls, chat, video calls, and many more features.) but it discontinued in mid of 2017.

So I have decided to make an autoresponder as I make for WhatsApp Chatbot in Python use the same pattern and make a skype auto-reply bot in python.

Source Code

DOWNLOAD CODE

Download Windows software

DOWNLOAD CODE

Here is the video demo:

Coding:

from selenium import webdriver

from selenium.webdriver.common.keys import Keys

from selenium.webdriver.common.action_chains import ActionChains

import time



driverPath = "chrome/chromedriver"



driver = webdriver.Chrome(executable_path=driverPath)



driver.get('https://web.skype.com')

print('Please login and press enter.......')

input()



with open('message.txt') as f:

message = f.read()

f.close()



def send_message(msg):

whatsapp_msg = driver.find_element_by_xpath('//div[@aria-label="Type a message"]')

for part in msg.split('\n'):

whatsapp_msg.send_keys(part)

ActionChains(driver).key_down(Keys.SHIFT).key_down(Keys.ENTER).key_up(Keys.SHIFT).key_up(Keys.ENTER).perform()



ActionChains(driver).send_keys(Keys.RETURN).perform()



def unreadMessageProcess():

try:



unread_chat = driver.find_element_by_xpath('//div[contains(@id, "rx-vlv")]/div/div/div/div[3]/div[2]/div')

unread_chat = unread_chat.find_element_by_xpath('./..')

unread_chat.click()

time.sleep(1)

send_message(message)

except Exception:

return False



while True:

print("checking new unread message....")

unreadMessageProcess()

time.sleep(10)

The above code uses Selenium (automate browsers) with Google chrome webdriver.

It will open your skype on the web and check if there is any unread message it will open that message and get your custom message from the message.txt file and send that message to that person.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook

Related

  • Tags
  • auto-reply bot
  • pytho
  • skype
  • skype bot
Facebook Twitter Google+ LinkedIn Pinterest
Next article 5 JavaScript Libraries You Can Use For Your Next Project
Previous article Convert your website into a Desktop App for Windows, Mac, Linux

Huzoor Bux

I am a PHP Developer

Related Posts

Create Like & Unlike System in PHP, MySQL and jQuery jQuery
June 15th, 2025

Create Like & Unlike System in PHP, MySQL and jQuery

Working with APIs in PHP API
April 30th, 2025

Working with APIs in PHP

WhatsApp chatbot in Python using Dialogflow.com Python
April 30th, 2025

WhatsApp chatbot in Python using Dialogflow.com

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe
Get new posts by email:
Powered by follow.it
Advertisement
Like us
Recent Posts
  • Free PHP, HTML, CSS, JavaScript/TypeScript editor – CodeLobster IDE
  • Web Scraping With PHP – Easy Step-By-Step Guide
  • HTML based swipe Tabs for mobile / touch devices
  • Cool HTM5 Features, Part 2
  • Programming Languages for Better Job Opportunities
Categories
  • API
  • Bootstrap
  • Bot
  • CSS
  • CSS 3
  • Database
  • Designing
  • Framework
  • Guide
  • HTML
  • HTML 5
  • JavaScript
  • jQuery
  • Laravel
  • MySQL
  • Node.js
  • oAuth
  • Payment
  • PHP
  • Python
  • Social
  • Tips
  • Web 3.0
  • WordPress
Weekly Tags
  • PHP
  • How to
  • javascript
  • laravel
  • MYSQL
  • PHP framework
  • css
  • jQuery
  • HTML to PDF
  • Web Development
  • About
  • Privacy Policy
  • Back to top
© PHPLift.net. All rights reserved.