Posted: Tue Sep 23, 2008 7:31 pm
As for the Uninstall - simply delete any variables that are prefixed with "PhoneValet" and remove the 2 scripts that are in the Indigo Scripts folder.
jay
jay
Software Support and Home Automation Forum
https://forums.indigodomo.com/
jay wrote:The last time I checked, Home Edition hadn't been updated to include the new required AppleScript functionality. I'd send Parilant support an email asking when Home will be updated.
They did tell me back during testing that Home Edition would have the same AppleScript functionality that Message Center has, but you'll need to verify with them.
jay
EDIT - I just checked the Parilant website and the Home Edition hasn't been updated since February - so it definitely doesn't have the new AppleScript support. They released Message Center 5.4.2 this month with the required additions.
Trigger Action PhoneValet - Start Voicemail
Action Group PhoneValet - Start Voicemail
Trigger Action PhoneValet - New Messages
Action Group PhoneValet - New Messages
Error script error: in file "PhoneValet Attachments.scpt"
Error script error: The variable theCallerName is not defined. (-2753)
Error error dispatching event to attachment script (-1753)
Error script error: The variable theCallerName is not defined. (-1708)
on listenToMessages(newSaved)
try
on listenToMessages(newSaved)
set theCallerName to ""
try
-- Handler to select either new messages or saved messages and to start the message playing
--
on listenToMessages(newSaved)
tell application "IndigoServer"
if (newSaved = "new") then
set callListString to (value of variable pvNewCallListVarName)
if (callListString ≠ "") then
set enabled of time date action pvTimeDateActionTimeoutName to false
set currentCallTree to newSaved
set AppleScript's text item delimiters to ":"
set callList to text items of callListString
set currentCall to item 1 of callList
-- Handler to select either new messages or saved messages and to start the message playing
--
on listenToMessages(newSaved)
set theCallerName to ""
try
tell application "IndigoServer"
if (newSaved = "new") then
set callListString to (value of variable pvNewCallListVarName)
if (callListString ≠ "") then
set enabled of time date action pvTimeDateActionTimeoutName to false
set currentCallTree to newSaved
set AppleScript's text item delimiters to ":"
set callList to text items of callListString
set currentCall to item 1 of callList
dnomode wrote:Cool that worked, However since I recopied all the scripts to the locations per instructions the ping no longer plays. The PhoneValet_shouldPlaySoundAlert variable is set to True.
dnomode wrote:Also when the machine says I have a phone call from "name of caller" it gives no name, it just skips to the date and time of the call. Why, PhoneValet knows who called?
dnomode wrote:Also how do I have the machine pause for a second between the date and time of the call?
dnomode wrote:And how can I setup the machine to only give me the time of the call without the seconds?
Is the PhoneValet background script running? That's what causes the ping sound to play. Also, what is the value of the variable named "PhoneValet_NewCallCount"? If it's 0 and you know you have new messages, then one of the scripts isn't running correctly, probably the background script.
Again, this is symptomatic of some part of the system not running correctly. Reinstall all the pieces in the various places. You might also want to restart you machine to make sure something else isn't interfering with operation.
Yes its running and the NewCallCount shows correct and updates instantly just no Ping sound, however this morning I noticed that everytime the PhoneValet background script is executed, the system plays the Funk.aiff sound file about 20 seconds later. This has me thinking something is wrong.
property unheardMessageCountActionGroup : "PhoneValet - has unheard voice mails"
--property unheardMessageCountActionGroup : "PhoneValet - has unheard voice mails"
dnomode wrote:
Also when the machine says I have a phone call from "name of caller" it gives no name, it just skips to the date and time of the call. Why, PhoneValet knows who called?
Jay wrote:dnomode wrote:Again, this is symptomatic of some part of the system not running correctly. Reinstall all the pieces in the various places. You might also want to restart you machine to make sure something else isn't interfering with operation.Also when the machine says I have a phone call from "name of caller" it gives no name, it just skips to the date and time of the call. Why, PhoneValet knows who called?
on listenToMessages(newSaved)
set theCallerName to ""
-- since we can't get this data from the pvcall object in PhoneValet, we'll set it here
-- as a set of properties that will be stored in the comment of the voicemail file
-- itself - nice, because no matter how the voicemail is deleted it won't leave
-- anything else laying around to clean up
set theDetailsString to "caller:" & callerName & return
set theDetailsString to theDetailsString & "number:" & domesticAreaCode & "-" & domesticNumber & return
set theDetailsString to theDetailsString & "line:" & lineName & return
set theDetailsString to theDetailsString & "mailbox:" & mailboxName
-- Set the audio file's comment to theDetailsString
tell application "Finder"
try
set comment of (file soundFilePath) to theDetailsString
end try
end tell
caller: Cell Phone
number:XXX-XXXXXXX
line:XXX-XXX-XXXX
mailbox:Main
Yes, its listed and has a check mark.In PhoneValet, are you sure the script is listed on the Voice Mail tab in the AppleScript Setup dialog and enabled?
I'm not sure where you want me to enter the data, sorry . Your code looks just like what I have on my computer.inserts some data into the audio file's comments
Yes it looks like your exampleJust to confirm that it's failing, you can look in:
/Library/Application Support/Parliant/Messages/Incoming Messages/
then look in the most recently dated folder, select a file in that folder, and do a Get Info to see the comments for the file.