<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! 1.5 - Open Source Content Management" -->
<rss version="2.0">
	<channel>
		<title>ByteClub Dev Blog</title>
		<description>ByteClub Dev Site - home of the ByteClub Multiplayer Platform</description>
		<link>http://dev.byteclub.com/blog</link>
		<lastBuildDate>Mon, 05 Nov 2012 06:50:21 +0000</lastBuildDate>
		<generator>Joomla! 1.5 - Open Source Content Management</generator>
		<language>en-gb</language>
		<item>
			<title>Byteclub SDK development has been suspended</title>
			<link>http://dev.byteclub.com/blog/1-iphone-sdk/54-byteclub-sdk-suspended</link>
			<description><![CDATA[<p>It was fun while it lasted, but due to various reasons we decided to suspend work on the Byteclub multiplayer SDK.</p>

<p>This site will be up for some time still - if you have a login, you can still use it. No new developers are being accepted into the beta program, sorry.</p>

<p>- Peter</p>]]></description>
			<category>iPhone SDK</category>
			<pubDate>Wed, 28 Apr 2010 20:30:44 +0000</pubDate>
		</item>
		<item>
			<title>Set Skype/Adium/iChat status via Spotlight+AppleScript</title>
			<link>http://dev.byteclub.com/blog/35-scripts/53-chat-status-via-spotlight-applescript</link>
			<description><![CDATA[<p>I'm now running 3 chat/voice apps on my Mac: Adium, iChat and Skype (don't ask). After getting tired of setting status to 'Away' or 'Back' in 3 different places by hand, I decided to call AppleScript to the rescue. Here is an AppleScript that sets Adium, Skype and iChat status to "Away" in one fell swoop:</p>
<pre>
tell application "Adium"
	go away
end tell

tell application "Skype"
	send command "SET USERSTATUS AWAY" script name "AppleScript status setter"
end tell

tell application "iChat"
	set status to away
end tell
</pre>

<p>Here is the reverse of that script, allowing you to set your status back to "Online":</p>

<pre>
tell application "Adium"
	go available
end tell

tell application "Skype"
	send command "SET USERSTATUS ONLINE" script name "AppleScript status setter"
end tell

tell application "iChat"
	set status to available
end tell
</pre>

<p>Using Script Editor on Mac, you can save each one of these scripts as an "Application". After that, you can either launch them via Spotlight or by double-clicking.</p>

<p>-- Peter Bakhyryev</p>

<br /><b>UPDATE 7/6/09: "Busy" status</b><br />

In the comments, Francesco asked about setting the status to "Busy". In both iChat and Adium, that would be same thing as setting the status to "Away" with a custom away message. In Skype, the closest thing to "Busy" is probably "Do Not Disturb". Here is the code to do that:

<pre>
tell application "Adium"
	go away with message "Busy"
end tell

tell application "Skype"
	send command "SET USERSTATUS DND" script name "AppleScript status setter"
end tell

tell application "iChat"
	set status to away
	set status message to "Busy"
end tell
</pre>]]></description>
			<category>Scripts</category>
			<pubDate>Thu, 07 May 2009 16:10:45 +0000</pubDate>
		</item>
		<item>
			<title>Script to add iPhone developers to a TweetDeck group</title>
			<link>http://dev.byteclub.com/blog/34-site/52-script-add-to-tweetdeck</link>
			<description><![CDATA[<p>Tim Haines came up with a great idea to <a href="http://is.gd/hlhV">collect Twitter usernames of iPhone developers</a> with a simple form using Google Spreadsheets. If you are using TweetDeck and wanted to add all these followers into a group, beware of getting Repetitive Stress Injury accompanied by blindness: there are 460+ names on that list as of right now, good luck clicking that many times. How about a script instead? I hacked Tim's script that automatically follows these people on your behalf, to insert some rows into TweetDeck's SQLite file instead.</p>

<p>Before you launch it:<br />
<br />
- Make sure to install sqlite3 ruby gem ("sudo gem install sqlite3-ruby") and google spreadsheet gem<br />
- Open TweetDeck and create a group. If you have one already, that's fine. Remember it's name. Close TweetDeck<br />
- Find out where TweetDeck keeps it's database file. On OS X, follow these instructions:<br />
1. go to ~/Library/Preferences<br />
2. Search for directory that starts with "TweetDeckFast."<br />
3. Inside, you'll find another directory called "Local Store"<br />
4. Check that directory for a file with a name that looks like "td_26_your twitter name.db"<br />
5. Copy the full path to that file, including it's name
(In my case, the file is called "/Users/peter/Library/Preferences/TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1/Local Store/td_26_byteclub.db")<br />

- In the script, replace values with your own
</p>

<a href="http://dev.byteclub.com/media/Peter Bakhyryev/devs-to-tweetdeck.rb">Script itself</a>

<p><b>UPDATE:</b> Forgot to mention that this script actually doesn't follow people, it only attempts to add them to your TweetDeck group. Before you run this script, make sure to follow developers either by manually entering them in Twitter or, if you are into doing things in bulk, running the script that's mentioned in the spreadsheet itself.</p>]]></description>
			<category>Site</category>
			<pubDate>Wed, 28 Jan 2009 15:01:45 +0000</pubDate>
		</item>
		<item>
			<title>How to (almost) create your own iPhone OS framework</title>
			<link>http://dev.byteclub.com/blog/1-iphone-sdk/48-how-to-almost-create-your-own-iphone-os-framework</link>
			<description><![CDATA[<p>As of iPhone SDK version 2.1, it doesn't seem to be possible to package your own code into an iPhone OS framework. Messing around with OS X 10.5 framework build options didn't yield any useful results for us. The closest we got is a static library built for each platform (iPhone OS and the Aspen simulator), bundled up into one file (using a command line tool called 'lipo') and a set of header files that you would reference in order to use the library.</p>]]></description>
			<category>iPhone SDK</category>
			<pubDate>Tue, 25 Nov 2008 03:52:50 +0000</pubDate>
		</item>
		<item>
			<title>New site is here!</title>
			<link>http://dev.byteclub.com/blog/34-site/46-new-site-is-here</link>
			<description><![CDATA[<p>Welcome to the new ByteClub Platform development site. We are running in a private beta mode right now, until everything is tested and polished. We'll be posting news about ByteClub developments in this blog, so check back every once in a while.</p><p>Enjoy!</p>]]></description>
			<category>Site</category>
			<pubDate>Fri, 21 Nov 2008 21:37:18 +0000</pubDate>
		</item>
	</channel>
</rss>
