phake out

posted by tom / October 15, 2005 /

It's been a while since I did anything here besides bitch about work. My poor, beloved tech category has been suffering in particular. Let's do something about that. Here's a silly little hack designed to help you avoid the more pointless parts of the workday. This one is pretty sneaky. I like it.

Meetings are one of the most godawful aspects of the cubicled life. For me they're usually a tense internal struggle between keeping my mouth shut so that the meeting will end quicker, and piping up in order to steer the conversation away from initiatives that are likely waste my time in the future and/or destroy the company.

But sometimes silence isn't enough to make the gathering end, and you badly want to get the hell out of there as quickly as possible. Wouldn't it be nice to borrow a page from the annals of sitcom hackery and have a friend call your cellphone at a predetermined time? "I'm sorry... I have to take this," you say with a grave look on your face, before heading to Starbuck's. If anyone asks, mumble something about a medical situation, everything turning out to be fine, and not wanting to get into the details. Works every time.

The only problem is finding a friend up to the duty. Fortunately, your computer is the very best friend you have.

So: first steps. Go download Skype. Install it — and if it asks whether it should handle Skype hyperlinks, be sure to click "Yes". Register a username, then go buy some SkypeOut credit. This is what lets you make calls from Skype to the plain old telephone service (POTS). You can buy as little as ten euros' worth, and at two cents a minute it should last for quite a few meetings.

Go ahead and give your cell a test call to make sure it's working. Remember that Skype is an international product, so you'll have to prefix the number with a "+1" for US phones. An example number would be "+12025551234". Assuming that the call went through, let's move on to scheduling it.

First, check that your system is set up to support Scheduled Tasks (yes, I'm assuming that you're using Windows). Go into Control Panel | Administrative Tools | Services and find "Task Scheduler". Verify that its Startup Type is "Automatic" and its Status is "Started". If not, double click on it and adjust its properties to match those settings.

Now go back to your Control Panel and find the item labeled "Scheduled Tasks". Double click on "Add a New Scheduled Task" and click "Next", then "Browse". Navigate to "C:\Program Files\Internet Explorer" and choose "IEXPLORE.EXE". On the next screen, select "One Time Only", then specify the time at which you'd like your phone to ring. The next screen will ask for the information of the user account that'll be responsible for running Skype. It should auto-populate with your current username, so just enter the password you used to log into the computer and you should be fine. On the final screen of the wizard, check the box that says "Open advanced properties for this task when I click Finish". Then, you know, click Finish.

IEXPLORE.EXE is the executable for Internet Explorer. We're using IE because Skype hooks itself into your web browser. The idea is that people can put links like these on their websites to allow other people to easily call them. Instead of the traditional "http:", these links begin with "skype:". There's a similar system for AOL Instant Messenger, EDonkey and countless other programs. It's a nice idea, and meshes well with our nefarious purposes.

So, you should now have an advanced properties window open. The "Run" box's contents will look like this:

"C:\Program Files\Internet Explorer\IEXPLORE.EXE"

We need to add the URL that we want IE to open. But — this is important — it needs to go outside the quotes. So the new contents of the "Run" box should look like this:

"C:\Program Files\Internet Explorer\IEXPLORE.EXE" skype:+12025551234?call

One more thing. Back in the Scheduled Tasks window, right click on your just-created task and select "Run". This'll provide a handy test. More importantly, it'll let us change a setting in Skype, which normally asks before using your SkypeOut credit on links that could have been initiated by malevolent Javascript. Just click the "Don't Ask Me Again" checkbox, or whatever the equivalent is, and tell Skype to allow the call. In the future these types of calls will go through without asking for confirmation.

That's it! You can now cause a ring at a time of your choosing (provided that your computer and phone are both on, of course). You'll have to fake a conversation, of course, but that shouldn't be too hard. Skype should detect when you hang up, so your SkypeOut credits won't be wasted. Each call should cost you a fraction of a cent (or whatever Skype rounds it up to). Good luck, and let me know if you want to grab a drink during the next team-building seminar.

Comments

Sounds good, but that only works if you're important enough to skip out on a meeting for a phone call.

Posted by: Jake on October 16, 2005 08:59 AM

True. But unless it's a super-important meeting, you can probably come up with some plausible personal excuse. It wouldn't work all the time, of course.

Posted by: tom on October 16, 2005 05:36 PM

Eh, just keep your phone in your pocket on vibrate. Then you can pretend it rang whenever you want.

Posted by: KCinDC on October 16, 2005 06:39 PM

Pfft. That doesn't involve a computer! Besides, it's the little touches that really sell the act.

Posted by: tom on October 16, 2005 06:45 PM

i just got a new phone and it doesn't have an alarm clock.i was wondering if i could use skype + the task scheduler to setup my own wakeup calls. and you've confirmed that i can.

i had to make some changes (might be my version of skype). instead of skype:phonenumber?call i used callto:phonenumber.

good work, and thanks for the motivation.

Posted by: jason on October 19, 2005 10:21 PM

doesn't your work-around thereby allow the malicious javascript call-outs that the prompt is designed to prevent?

Posted by: truffle on October 19, 2005 11:56 PM

Yes. But I don't know how many of those are out in the wild, due to the existence of the prompt. If you're concerned about it, either a) don't run skype when you don't have a call scheduled or b) write a greasemonkey script to defang malicious scripts of this type (it would be *really* easy to do using examples from mark pilgrim's book)

Posted by: tom on October 20, 2005 12:03 AM

Neat!

Should be easy to do with a couple different methods on the mac.

A cool variation would be some sort of program checking an imac account every so often, and if you send mail to that account from your phone, then it will trigger the dial.

Of course sms'ing your friend to say 'call me' would work as well I guess.

Posted by: Rob Sayers on October 20, 2005 01:40 AM

i didnt read the whole thing but it sounds like a relay call

it is a lot easier and less expensive
google search att relay calls and it should be the first one


www.Hackaday.com

Posted by: mofx on October 20, 2005 10:08 AM

"Eh, just keep your phone in your pocket on vibrate. Then you can pretend it rang whenever you want.--
Posted by: KCinDC on October 16, 2005 06:39 PM"

I had a friend do that once...then while having this fake conversation the phone rang. DOH!

Posted by: formulaben on October 20, 2005 01:09 PM

I wrote one a long time ago, it was Apple ][ Dos 3.3 with a 300 baud modem. It would dial my pager. I called it the extracation pager program.

Posted by: stuffduff on October 20, 2005 02:21 PM

Relay Call? Not even close. The relay services are for assisting deaf or otherwise handicapped folks to communicate with a human "Relay Operator" in the middle.

You would be seriously abusing a free service for the handicapped if you somehow made this computer-to-your-cellphone connection using a Relay service.

Posted by: Chuck on October 20, 2005 06:57 PM

So, what would be the equivalent way of creating a shortcut for Firefox, if Firefox isn't the default browser? And how would I format the link if I were using html?

Posted by: Jonn on October 21, 2005 10:24 AM

The shortcut would be exactly the same, except you'd need to point it to firefox.exe instead of iexplore.exe.

The HTML for a skype link looks like:

<A HREF="skype:+11234567890?call">link</A>

Posted by: tom on October 21, 2005 10:37 AM

If you're pretending to take a call, why not fake the actual call too?

1) Set phone alarm to sound during meeting
2) Set phone alarm sound to ringtone
3) Put phone on silent without vibrate for calls & messages.
4) Act like you wanted to win an Oscar when your alarm goes off during meeting
5) Stay cool since even if phone really rang it wouldn't be heard anyhow
6) Get some productive rounds of Solitare done while your cow-orkers are still in the meeting.
7) Act smug because you're a cheap skate that didn't spend any money on Skype, or anything else.

Posted by: workshy on October 23, 2005 03:24 PM

You can call the US and Canada 2 mobile and Landline free even if you’re in the India .Philippines... China..or any country in the World.Visit this site...happy calling

http://freeskypeout.blogspot.com/

Posted by: aditya on October 17, 2006 03:31 PM

Post A Comment

Name


Email Address


URL


Comments


Remember info?



Google Analytics