Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Can I make 2 services for different numbers?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Can I make 2 services for different numbers?
Authored by: elspub on Oct 13, '09 01:11:44PM

Yes. You can use multiple versions of the service. You just need to make 1 small change to the service per version.
Double click on the service, it should open with Automator. You'll see the applescript that defines the service.
hit command-f to activate a text search and type into the search field "Google Voice Dialer". Now hit enter. You should see that phrase highlighted in this sentence:

"set {usrnm, psswrd, phnm} to {account, password, comment} of (first key whose name is "Google Voice Dialer") of current keychain"

If you downloaded an earlier version of the service it might say "Google Voice Dialer for Quicksilver" instead of just "Google Voice Dialer". Either way You need to change the name of the key from "Google Voice Dialer" to whatever, "Google Voice at Home" or "Google Voice at Office".
There's another line in the script 12 lines further down:

"make new generic key at current keychain with properties {name:"Google Voice Dialer", account:usrnm, password:psswrd, comment:(phnm as text)} "

Make sure you change the "Google Voice Dialer" there as well.

And you should be good to go. Obviously, I'd rename the service itself to gvDialerOffice or whatever. As long as each version of the service runs off its own keychain entry you can have as many as you want. The SMS service, though it requests a gv phone number, always sends a text from your Google Voice account phone. So you only need one of those.



[ Reply to This | # ]
Can I make 2 services for different numbers?
Authored by: runithome on Jan 25, '10 06:57:26AM

I tried running this as two different services but keep getting an Applescript Workflow error after trying to use the dialer script for my 2nd number. I renamed the scripts HOME and MOBILE and renamed the text in the script per your instructions above. The first instance works fine, but then the next one stops after entering the call back number. I am wondering if the Applescript is trying to create a keychain and fails when it finds one already with the same name?

Any ideas or tips?

This is wonderful script. Thanks for your time and effort.

Edited on Jan 25, '10 06:59:01AM by runithome



[ Reply to This | # ]
Can I make 2 services for different numbers?
Authored by: SavinHillGuy on Apr 10, '10 11:58:51AM

I got the same error. So I went into my keychain and manually created a new entry for the second phone number, and now they both work like a charm!



[ Reply to This | # ]