View Single Post
  #28 (permalink)  
Old 10-09-2009, 09:55 PM
vne147's Avatar
vne147
Lurker
Offline
Threadstarter
 
Join Date: Oct 2009
Posts: 19
Reputation: 0
vne147 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: PhoneFusion Questions

HOLY CRAP!!! Mortscript rocks! I downloaded and installed Mortscript 4.2 and within 10 minutes I had my first script implemented. The following script increments the unread voicemail message count. Any value greater than zero makes the notification show up on the Today screen. It's so simple:


# Phone Fusion Fix Script 1
#
# This script is called from the registry key:
# \HKLM\SOFTWARE\Microsoft\Inbox\Rules\FVVM_Today_Fi x\Command
# when a text is received to notify the Phone Fusion application of a new voicemail

unread = RegRead( "HKCU" , "System\State\Messages\vmail\Total\Unread" , "Count")
unread = unread + 1
RegWriteDWord( "HKCU", "System\State\Messages\vmail\Total\Unread" , "Count" , unread )

So as of now, I fixed it so that when a voicemail is received the notification shows up on the Today screen and at the same time the Phone Fusion application is prevented from automatically running.

Next, I need to find the callback associated with tapping the Today screen notification. Once that's figured out I can write a second script that will set the unread message count back to zero and then launch the Phone Fusion app.

Finally, I need to figure out how to stop that pesky text from showing up in my inbox. I'm thinking that maybe I can add something to the script above that will intercept and delete the message before it shows up. This bit is still a mystery to me. Maybe the Phone Fusion contributor to this thread can help shed a little light. Thanks.
Reply With Quote