![]() |
SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
As per post title really, does anyone know the shell commands to go online/offline with Skype etc so I can cron it?
Thanks. EDIT: I have managed to solve this with a bit of digging on the forums and adapting of scripts. The first script I created called "skype-online" is here: Code:
#!/usr/bin/env python Code:
#!/usr/bin/env python |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Solved - see above
|
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Awesome!! Thanks so much. I did have to fix a few minor indentation errors. No big deal.
Fred |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Thanks a lot, great posting!
But beware, this will bring offline/online all IM accounts, not only Skype. |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Thread moved to Applications.
|
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
When i try to run this script, using /usr/bin/python2.5 /home/user/MyDocs/scripts/skypeonline.py i get this error:
Code:
Traceback (most recent call last): |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Hello
I have problem with trying to run this script... I think I don't know what I should to write... I saved this script in my folder.. I did permission to this file (chmod +x) I wrote in terminal: python /opt/Scripts/skape-online and i got this message: Code:
File "/opt/Scripts/Skypeon.py", line 16 Thanks |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Quote:
online Code:
#!/usr/bin/env python Code:
#!/usr/bin/env python But I'd still like to know how to set the presence, or status of the IM accounts. Any ideas? |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
If you install "libmissioncontrol-utils" you can set resence with:
Code:
mc-tool list | grep -v "ring/tel" | awk {'print "mc-tool request "$1" busy"'} | sh If you don't want to set all accounts at once you can replace -v "ring/tel" (exclude -v) with "skype" or "ovi" or "gmail" etc. depending on the account settings. |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
hillbicks, thanks this script is work, but "offline" still try to connect to internet... and "online" connect all my IM accounts..
I too want to know how to set MY presence of the IM accounts... Quote:
But before I run this code, I need set my presence to "ofline", if I set "Online" all my accounts connecting automaticaly, when I connect to internet... The code not switching to one account, that I wrote in the code.. It's still a good, I only need to remember to switch "offline" before I run "desktop activity"... |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Hi all
I want to be able to setup Alarmed so that it sets my presents to online but I'm not fimiliar with creating scritps. Would someone be kind enough to guide me through it step by step as I really have no idea what I'm doing? |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Anybody???
Please :) |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
try install this: libmissioncontrol-utils
write this command in to your app (alarmed): mc-tool list | grep -v "ring/tel" | awk {'print "mc-tool request "$1" online"'} | sh hope it will help.. |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Quote:
Thank you so much! |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Has anyone noticed the problem with this?
It doesn't stay online/connected if you change internet connections i.e going from 3G internet to WIFI and vise/versa. Bit of a let down. |
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Hmmm, surely someone has noticed...?
|
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
when you chenge the internet connection, you need again to run this script...
|
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Yes, I know. That's a bit of an inconvenience, don't you think?
|
Re: SOLVED: Sign in/out Skype (set availability Online/Offline) with cron
Not for me... For staying always (3G/Wifi) online, just will put the "availability" to the "online" from status bar...
|
All times are GMT. The time now is 08:16. |
vBulletin® Version 3.8.8