- METHODS
Str – Plain text representation of a user’s mood. Rich¶ str – Mood message with original formatting. Invite (greeting=None) source ¶ Send the user a contact request. Parameters greeting – custom message to include with the request block (report=False) source ¶ Block the user from all communication. Rich mood editor. Local answering machine. Auto chat reply. Birthday notifications. Auto mood/status change. Skype call scheduler. PamConsult is not affiliated. Rich Mood Editor for Skype Video Tutorial + Download Link In this post I’m going to share with you how you can set your mood (on skype that is) so you can update your Skype profile and stand.
Win32::Skype - Perl extension for interfacing with Skype's API on Windows
use Win32::Skype;
my $Skype = Win32::Skype->new; $Skype->attach;
$Skype->call('echo123');
This module provides an easy-to-use interface to Skype4COM. The naming scheme of the functions allows scripts to be written in an almost pseudo-code kind of way.
new()
Returns a Win32::Skype object.
attach()
Attaches the script to the Skype4COM API interface.
call(person1[, person2, person3, ...])
Initiates a call to the supplied Skype user or PSTN phone number. Supplying multiple arguments will initiate a conference call.
answer()
Answers an incoming call.
holdCall()
Places the current call on hold.
resumeCall()
Resumes the currently held call.
endCall()
Ends the current call.
startVideoSend()
Starts video send.
Skype Rich Mood Music
stopVideoSend()
Stops video send.
startVideoReceive()
Starts video receive.
stopVideoReceive()
Stops video receive.
userStatus([user])
Returns the status of the supplied user (or current user if one is not specified).
callStatus()
Returns the status of the current call.
dtmf(tones)
Sends DTMF (touch-tones) to the current call. Accepts alphanumeric characters.
userGetHandle([user])
Returns the handle of the supplied user (or current user if one is not specified).
userGetFullName([user])
Returns the full name of the supplied user (or current user if one is not specified).
userSetFullName(name)
Sets the full name of the current user.
userGetBirthday([user])
Returns the birthdate of the supplied user (or current user if one is not specified).
userSetBirthday(date)
Sets the birthdate of the current user.
userGetSex([user])
Returns the sex of the supplied user (or current user if one is not specified).
userSetSex(sex)
Sets the sex of the current user.
userGetLanguage([user])
Returns the language of the supplied user (or current user if one is not specified).
userSetLanguage(language)
Sets the language of the current user.
userGetCountry([user])
Returns the country of the supplied user (or current user if one is not specified).
userSetCountry(country)
Sets the country of the current user.
userGetProvince([user])
Returns the province of the supplied user (or current user if one is not specified).
userSetProvince(province)
Sets the province of the current user.
userGetCity([user])
Returns the city of the supplied user (or current user if one is not specified).
userSetCity(city)
Sets the city of the current user.
userGetPhoneHome([user])
Returns the home phone number of the supplied user (or current user if one is not specified).
userSetPhoneHome(number)
Sets the home phone number of the current user.
userGetPhoneOffice([user])
Returns the office phone number of the supplied user (or current user if one is not specified).
userSetPhoneOffice(number)
Sets the office phone number of the current user.
userGetPhoneMobile([user])
Returns the mobile phone number of the supplied user (or current user if one is not specified).
userSetPhoneMobile(number)
Sets the mobile phone number of the current user.
userGetHomepage([user])
Returns the homepage of the supplied user (or current user if one is not specified).
userSetHomepage(homepage)
Sets the homepage of the current user.
userGetAbout([user])
Returns the about text of the supplied user (or current user if one is not specified).
userSetAbout(text)
Sets the about text of the current user.
userGetMood([user])
Returns the mood of the supplied user (or current user if one is not specified).
userSetMood(text)
Sets the mood of the current user.
userGetRichMood([user])
Returns the rich mood of the supplied user (or current user if one is not specified).
userSetRichMood(text)
Sets the rich mood of the current user.
userGetTimezone([user])
Returns the timezone of the supplied user (or current user if one is not specified).
userSetTimezone(timezone)
Sets the timezone of the current user.
userGetCallNoAnswerTimeout()
Returns the 'call no answer timeout' of the current user.
userSetCallNoAnswerTimeout(timeout)
Sets the 'call no answer timeout' of the current user.
userGetCallApplyForward()
Returns if the current user has call forwarding enabled.
userSetCallApplyForward(boolean)
Enables or disables the call forwarding status of the current user.
userGetSendToVoicemail()
Returns if the current user will send calls to voicemail.
userSetSendToVoicemail(boolean)
Enables or disables sending calls to voicemail of the current user.
userGetCallForwardRules()
Returns the call forwarding rules of the current user.
userSetCallForwardRules(rules)
Sets the call forwarding rules of the current user.
userBalance()
Rich Mood Skype
Returns the balance in currency cents of the current user. (Unfortunately, there is no userSetBalance() function, haha.)
userBalanceCurrency()
Returns the currency code of the current user.
userBalanceText()
Returns the balance amount with currency symbol of the current user.
userIPCountry()
Returns the ISO country code by IP address of the current user.
userHasCallEquipment([user])
Returns whether or not the supplied user (or current user if one is not specified) has call equipment. The current API implementation will always return true.
userGetBuddyStatus([user])
Returns the buddy status of the supplied user (or current user if one is not specified).
userSetBuddyStatus(status)
Sets the buddy status of the current user.
userGetIsAuthorized([user])
Returns the authorization status the supplied user (or current user if one is not specified).
userSetIsAuthorized(user, boolean)
Sets the authorization status of the supplied user.
userGetIsBlocked([user])
Returns whether or not the supplied user (or current user if one is not specified) is blocked.
userSetIsBlocked(user, boolean)
Blocks or unblocks the supplied user.
userGetDisplayName([user])
Returns the display name of supplied user (or current user if one is not specified).
userSetDisplayName(name)
Sets the mood of the current user.
isRunning()
Returns the running status of the Skype client.
start([boolean, boolean])
Starts the Skype client. If the first argument is true, Skype is minimized to the system tray. If the second argument is true, Skype does not display a splash screen on start up.
shutdown()
Closes the Skype client.
minimize()
Minimizes the Skype client.
https://developer.skype.com/Docs/Skype4COM is the official documentation and reference to Skype4COM. Many functions in this module use similar names as the Skype4COM functions.
Michael Coppola <mncoppola@cpan.org>
Please report any bugs or feature requests to mncoppola at cpan dot org, and I'll be sure to get back to you.
Known bugs in this module:
The userGetBirthday function does not properly return the birthdate of other users. For example, userGetBirthday('friend') does not work, while userGetBirthday() does (returning your own birthdate).
Error handling is also not 100%, so calling certain functions without the necessary pre-requirements may break the module (for example, calling answer() when there is no incoming call). This will be addressed as the module continues development.
Copyright (C) 2010 by Michael Coppola
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
To install Win32::Skype, copy and paste the appropriate command in to your terminal.
For more information on module installation, please visit the detailed CPAN module installation guide.