Submit Response

SparkStats

Submit Response is a weblog by Jack Mottram, a journalist who lives in Glasgow, Scotland. There are 1308 posts in the archives. You can subscribe to a feed. This post was made on and belongs in the mac category. The previous post was , and the next post is .

RingRingFindMyBloodyPhone Part II

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’s a way to do it.

You’ll need Skype installed, and some SkypeOut credit (which you only need to make a call to a real ‘phone, this won’t cost any money).

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

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

Now all you have to do to get your ‘phone to ring for 30 seconds is type ringring in the Terminal, or, to make it even easier, you can set up a Quicksilver trigger to run the command whenever you hit a key combination.

Mere words cannot express how happy this makes me!

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’t very pretty. But I’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’ll have to do.

Posted at 11am on 17/02/07 by Jack Mottram to the mac category.
Permalink · Add to del.icio.us
Tags: , , ,

Comments are closed

Comments are currently closed on this entry.
  1. ordinary old people telephone their mobile from their landline handset - #bin pick up phone/;% dialmobilenumber exit landline /killall shush exit 0

    Posted by Jasmine Lounge at 11am on 17.02.07

  2. Was ist das?

    Posted by MopeNoime at 7pm on 20.03.09

Recent Posts

Categories

Archives

Elsewhere

Search