178

Playout Intelligence

Update Skype Mood Text From Twitter

A Windows Scripting Host jscript that updates the Skype mood text from Twitter tweets

Skype Mood Text Example

Skype Mood Text Example

A couple of people pinged me about the frequency of my Skype mood text updates. No, I’m not constantly updating this text by hand. Instead I wrote a script in JScript, using Windows Scripting Host. The script uses the Web API of Twitter and the Com API of Skype.

Here is the script:Jscript, updating skype mood text from twitter.

I’ve gone a bit overboard with error handling, but I was testing around quite a bit ;) The script will only update the Skype mood text from Twitter. It will not create a tweet from the Skype mood text.

In order to start the script, you have to create Windows shortcut to:

C:\Windows\System32\cscript.exe //nologo "[PATH_TO_JS_FILE]"
Example Window Setting for Skype-Twitter Integration

Example Window Setting for Skype-Twitter Integration

After creating the shortcut, you can select the link properties and change the layout for the window that will open. I entered a width of 80, height of 20, and a font size of 10. That will give you the window you can see here.

You can also assign your own icon to make it look pretty in the task bar (no, the application will not minimize into the notification area). I’m using this icon.

BTW: The script requires the Skype COM object installed. Usually this will be the case. If not, Google it. The script will also try and connect to the Skype API (of course!), so you need to tell Skype that this is OK, the dialog is sometimes a pop-under :(.  Sometimes the script also does not connect for whatever reason. Usually it works on the second try… Yes, it’s buggy. I wish there would be a Skype Web API that interacts with the Skype Desktop Client…

Leave a Reply

Required fields are marked with an asterisk (*), you may use these tags in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

blog comments powered by Disqus

Recent Tweets

Archives

Content © Playout Intelligence
Proudly powered by WordPress
Theme designed by Artisan Themes

Entries (RSS)
Comments (RSS)

31 queries.
0.746 seconds.

Creative Commons License
This Playout Intelligence blog post by Thorsten Claus is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer or sponsors.

Except where stated, all materials contained in this Web site are the copyrighted property of Thinkstorm. Permission is granted to use, copy and distribute these materials as presented in this Web site for personal, non-commercial use only. All copyright and other notices must appear in all copies as they appear in the original. All other uses are prohibited. (please also see these two articles about “All Rights Reserved” and general copyright law, with some focus on the US).

This site contains links to other sites that are not owned or maintained by Thinkstorm. These links are provided for your convenience. Thinkstorm makes no warranties about the contents of or products and services offered by such sites.

Thinkstorm shall not be liable for any injury, claim or damage whether direct or indirect which arises out of the use of this site or its contents or the inability to use this site. Thinkstorm shall not be liable for any injury, claim or damage whether direct or indirect which arises from the unauthorized access to or alteration of your transmission unless it results from the gross negligence or intentional actions of Thinkstorm.