<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Submit Response &#187; applescript</title>
	<atom:link href="http://submitresponse.co.uk/weblog/tag/applescript/feed/" rel="self" type="application/rss+xml" />
	<link>http://submitresponse.co.uk/weblog</link>
	<description></description>
	<lastBuildDate>Tue, 10 May 2011 01:19:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RingRingFindMyBloodyPhone Part II</title>
		<link>http://submitresponse.co.uk/weblog/2007/02/17/ringringfindmybloodyphone-part-ii/</link>
		<comments>http://submitresponse.co.uk/weblog/2007/02/17/ringringfindmybloodyphone-part-ii/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 11:02:28 +0000</pubDate>
		<dc:creator>Jack Mottram</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[skype]]></category>

		<guid isPermaLink="false">http://submitresponse.co.uk/weblog/2007/02/17/ringringfindmybloodyphone-part-ii/</guid>
		<description><![CDATA[As no one will remember, back in May of 2004, I pinged the now-defunct LazyWeb site in the hope that some kind developer would write an application that would let me make my always-lost mobile telephone ring from my computer so I could find it. Here&#8217;s a way to do it. You&#8217;ll need Skype installed, [...]]]></description>
			<content:encoded><![CDATA[<p>As no one will remember, back in <a href="http://submitresponse.co.uk/weblog/2004/05/02/ringringfindmybloodyphone/">May of 2004</a>, I pinged the now-defunct <a href="http://www.lazyweb.org/">LazyWeb</a> site in the hope that some kind developer would write an application that would let me make my always-lost mobile telephone ring from my computer so I could find it.</p>

<p>Here&#8217;s a way to do it.</p>

<p>You&#8217;ll need <a href="http://www.skype.com/">Skype</a> installed, and some SkypeOut credit (which you only need to make a call to a real &#8216;phone, this won&#8217;t cost any money).</p>

<pre>
#!/bin/sh
osascript -l AppleScript -e "tell application \"Skype\" to get URL \"callto://+447967XXXXXX\""
sleep 30
killall -m "Skype"
exit 0
</pre>

<p>Save the above somewhere handy in your path as <code>ringring</code>, do <code>chmod 755 ringring</code> so you can execute it.</p>

<p>Now all you have to do to get your &#8216;phone to ring for 30 seconds is type <code>ringring</code> in the Terminal, or, to make it even easier, you can set up a Quicksilver <a href="http://vjarmy.com/archives/2006/01/quicksilver_gold_trigger.php">trigger</a> to run the command whenever you hit a key combination. </p>

<p>Mere words cannot express how happy this makes me!</p>

<p><small>Admittedly, wodging some Applescript inside a bash script, then killing Skype to stop it from connecting and wasting your money on a silent ansaphone message isn&#8217;t very pretty. But I&#8217;m not clever enough to work out how to make Skype hang up after a set interval with AppleScript, and this way works, so it&#8217;ll have to do.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://submitresponse.co.uk/weblog/2007/02/17/ringringfindmybloodyphone-part-ii/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 7/14 queries in 0.006 seconds using disk: basic

Served from: submitresponse.co.uk @ 2012-02-12 05:34:34 -->
