

I could create a hash of "username" => "Text message" pairs for the important people. In the above example I only printed it along with the fullname but I could do other interesting things. This is the unique Skype ID of the person. The Skype::Any::Object::User has all kinds of interesting methods providing details about that specific contact, but the most interesting to us is the handle field. In the short time I ran this script I only saw the strings NA, OFFLINE, and ONLINE. The first one is a Skype::Any::Object::User object and the second one is the new status of the user. When a user changes their status, this function will be called and two values will be passed. We are interested in the user-related events, so register the event handler $skype->user passing an anonymous subroutine to it. By default Skype::Any would use the name Skype::Any, but in the constructor we gave it another name.Īnyway, once the connection is established, the events in the Skype client will generate call-backs in our script. Later you can turn this off, from within Skype.Īlso, as far as I understand the permission is given to a third-party application with a specific name. (For a screenshot see the documentation of Skype::Any.) You can let this script connect to your Skype once or always.

The Skype client will ask for your permission. When you run this script it will try to connect the already running Skype client. My $skype = Skype::Any->new(name => "Selective Notification Agent") So this whole solution might go away in a few weeks. Shutting down part of this API in December 2013.

(version 0.06) it only works on Linux and Mac OSX. As I read in the documentation, the module Right-click menu from Skype's Contact list.īlocking contacts is not permanent, but users will remain on the list until you decide to remove them.Before looking at the actual code. Simply right-click on someone in your contact or recent lists and choose Block this person. This list can be used as an alternative to blocking all unknown callers if you can pinpoint the contacts that are spamming you. You may have noticed the Block contacts tab in this area, as well. Click the bubble next to "Only allow people from my Contact list to contact me." Press Save before leaving this screen.

Step 3: The first option in this tab is Privacy settings. Step 2: On the next screen that loads, choose the Privacy tab on the left-hand side. Step 1: Click on the Tools menu in Skype and choose Options. Here are a few quick steps to prevent the people you don't know from contacting you on Skype. Unfortunately, this spam has leaked into Skype as well. Because of this, you may receive e-mail, texts, and calls from people trying to sell you something or run a scam. While this might be great when the only people who have your number are people you want to talk to, but that isn't always the case. You may have noticed that practically anyone can call your Skype.
