Featured Posts

Adding HTML Signature to your iPhone 4 without Jailbreaking itAdding HTML Signature to your iPhone 4 without Jailbreaking... One of the features missing on the iPhone is HTML signature for Mail, and if you are using two different email addresses like me you probably want to have two different...

Readmore

Play Tetris Using Mac Leopard TerminalPlay Tetris Using Mac Leopard Terminal Terminal Tetris is actually part of the Gnu Emacs and is something you should able to do on any unix system that has Emacs on it. I attached text and video instructions. To...

Readmore

Automate a Remote Login Using SSH - LinuxAutomate a Remote Login Using SSH - Linux To do just that you need to create SSH Key Pair 1. we need to use ssh-agent to create an SSH key pair. To do that run this command: ssh-keygen -t rsa When prompted...

Readmore

Free Google Wave InvitesFree Google Wave Invites Do you really want a Google Wave Invite but don't want to pay $$$ on eBay??? I got one for you.... The deal is: I give you an Invitation and once you get it...

Readmore

Start Google Chrome in Incognito ModeStart Google Chrome in Incognito Mode I'm Using Mozilla FireFox as my default web browser But I like using Chrome for Private Browsing. Google Chrome doesn't provide an option to load Incognito by default so...

Readmore

Cool Geex Rss

Place Google Voice calls directly from iPhone

Posted on : 08-10-2009 | By : Cool Geex | In : Apple, Mac Leopard, Script Editor, iPhone

1

The script works by adding numbers to contacts in Address Book that dial your contact via Google Voice. The new number is prefixed with your Google Voice number, your pin, and the number two. It dials into your Google Voice number and places the call to your contact.

Here is the code. Replace PIN_HERE and GV_NUMBER with your Google Voice pin # and your google voice number.

Enter this in Script Editor then compile and run:
[applescript]
set mymypin to “PIN_HERE”
set gvnumber to “GV_NUMBER”

tell application “Address Book”
repeat with thePerson in people
set nums to the phones of thePerson
repeat with num in nums
if the (label of num) contains “GV” then
tell thePerson
delete num
end tell
else
set gvPhone to {label:”", value:”"}
set label of gvPhone to “GV” & the (label of num)
set value of gvPhone to gvnumber & “,” & mypin & “,2,” & the (value of num)
tell thePerson
make new phone at end of phones with properties gvPhone
end tell
end if
end repeat
end repeat
end tell
[/applescript]
Use that method until Google will release API for Google Voice

Related posts:

  1. Feature Suggestion For Google Voice
  2. Google Voice Finally Heads to iPhone With HTML5 Webapp
  3. Create your own list of email addresses from your inbox
  4. Send Text Message to Multiple Numbers Using Google Voice

How To Link To This Page?

To link to this page, simply Copy and Paste the following code to your web page.

Comments (1)

so, does this just add an additional number for each contact in case you want to use GV to make the call or is it permanent for all future calls?

Write a comment

Available on the App Store

Advertise Here


Subscribe To CoolGeex