Giter Club home page Giter Club logo

skype4py-speeddial's Introduction

Introduction

A simple skype4py script that allows speed dialing with pauses and extensions.

Installation

  • Ensure that you have Skype installed. On Ubuntu this can be done using the following command:

      sudo apt-get install skype
    
  • Ensure that you have skype4py installed. On Ubuntu this can be done by performing the following commands

      sudo apt-get install python python-pip
      sudo pip install --upgrade Skype4Py
    
  • Copy speeddial.py to a known location and ensure that it is executable (i.e. chmod +x speeddial.py). In the future, we will refer to this location as $SPEEDDIAL_HOME

Usage

After following the Installation instructions, you can use speeddial.py as soon as you have started Skype by executing the script with the number you wish to dial. For example, I create a script named conference.sh that looks like this:

$SPEEDDIAL_HOME/speeddial.py 18001234567

Now to run it all you need to do is execute the script. This isn't all that useful since you can create a contact within Skype that has a number. However, the script also supports pausing and extensions. For example, if you enter the following:

$SPEEDDIAL_HOME/speeddial.py 18001234567,,890#
  • The number 18001234567 is dialed
  • It waits 2 seconds (1 second for each ,). You can add as few or as many , as you like
  • It dials 890#

Now you can create a shortcut (i.e. bash script, alias, etc) for each phone number you call frequently!

skype4py-speeddial's People

Contributors

rwinch avatar

Stargazers

 avatar

Watchers

 avatar  avatar

skype4py-speeddial's Issues

Allow "+" and other characters in the phone number

I often dial international, which requires a leading + sign.
Here's a quick&dirty patch to allow +, - and parenthesis as part of the number:

diff --git a/speeddial.py b/speeddial.py
index e8216e6..70469fa 100755
--- a/speeddial.py
+++ b/speeddial.py
@@ -67,7 +67,7 @@ if not skype.Client.IsRunning:

Attatching to Skype..

skype.Attach()

-number = re.search('(\d+)(,)([\d#_])', CmdLine)
+number = re.search('([+()-\d]+)(,_)([\d()-#])', CmdLine)
Call = skype.PlaceCall(number.group(1))
Call.WaitTime = len(number.group(2))
Call.Extension = number.group(3)

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.