gwerz / vocito

Automatically exported from code.google.com/p/vocito
0 stars 0 forks source link

Applescript to change default from number without making a call #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Another suggested enhancement:

Add the ability to change the default "From" number without making a call.

I'm now using MarcoPolo to auto switch things like when my network changes 
(indicating whether 
I'm in the office or not). Marco Polo also has the capability to run an apple 
script, and it would be 
great to have it tell Vocito to make future calls from my office phone instead 
of my home phone.

Original issue reported on code.google.com by scott.ho...@gmail.com on 2 Dec 2008 at 3:26

GoogleCodeExporter commented 9 years ago
You should be able to do this with Vocito 1.1. Take a look at the "From Number" 
property of the application and 
let me know if it works for you.

Original comment by dmaclach on 2 Dec 2008 at 4:01

GoogleCodeExporter commented 9 years ago
It crashed script editor. Here's the script I tried (but with an actual number)

tell application "Vocito"
set the "from number" of the application to "1234567890"
end tell

Original comment by scott.ho...@gmail.com on 2 Dec 2008 at 4:06

GoogleCodeExporter commented 9 years ago
Interesting...you found a script editor bug, not a Vocito bug. I'll log 
something against Apple. In the meantime, 
give this script a try

tell application "Vocito"
    set from number to "1234567890"
end tell

Original comment by dmaclach on 2 Dec 2008 at 4:21

GoogleCodeExporter commented 9 years ago
That did it. 

This should be added to the help documents.

Thanks!

Original comment by scott.ho...@gmail.com on 2 Dec 2008 at 4:28

GoogleCodeExporter commented 9 years ago
Documentation updated. Thanks for the bug.

Original comment by dmaclach on 2 Dec 2008 at 4:38