On 31 October 2012 11:01, Abduljaber Abdulqader
<[email protected]>wrote:
> Please can anyone shed light on how to print the log of free calls on
> Ubuntu?
>
>
Hi,
You can use the Skype4Py[1] library with python to print the log of calls
very easily... here's a quick example of the script you might want to use:
#!/usr/bin/python
import Skype4Py
skype = Skype4Py.Skype()
for call in skype.Calls():
if call.RateValue == 0.0: # check it was free
when = call.Datetime
who = call.PartnerDisplayName
how_long = call.Duration
print "call at %s with %s for %ss" % (when,who,how_long)
The Skype client must be running, and logged in to the user you wish to see
the log for.
matt
[1 ]http://skype4py.sourceforge.net/doc/html/
--
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/