PDA

View Full Version : syntaxes for HKLM/Software/Microsoft/Shell/Rai/:MSCPROG


farbird
28th February 2006, 04:08 AM
Anyone knows the available syntax to use with the registry key of

HKLM/Software/Microsoft/Shell/Rai/:MSCPROG

I am trying to create a shortcut to call up the phone program
Cprog.exe

to

1) Redial last number
2) Dial contacts [ evoking also :MSCONTACTS OR :MSPOUTLOOK ]
3) Enable Speaker phone
4) Dial specific queue number in call history
5) Dial speed dials number
6) Dial specific number [ ie call 123456789 ]

Any help from the experts here?
Vijay perhaps can share some of your knowledge?

Main issue is coz I want my bluetooth button to activate a redial last number.

Though pressing on the bluetooth button and holding it for 2 seconds will do that, as a single tap will invoke the

HKLM/Software/OEM/VoiceCommand/[whatever commandline.exe]

I'd like to give it some flexibility of what I want to run.
Running normal apps like checknotification does not do the bluetooth any honour.

So I was thinking if the phone functions [ seen on the main dialpad] can be invoked with the :MSCPROG syntaxes.

Any help or hint would be helpful.

vijay555
28th February 2006, 11:00 AM
I don't have any experience with :MSCPROG (ie cprog.exe) command lines - although it's possible to try to descern if there are any, my VJPhoneShortcuts take another route in accessing cprog.

I have the research done on a relatively large update to VJPhoneShortcuts, and will finally build in WM2003 compatiblity where possible (I think everything except WM2003 speakerphone), hopefully this weekend or so.

I really don't know if the degree of control you want over cprog.exe is likely to be possible from external manipulation of cprog through command lines, since you're effectively replicating most of what the phone dialer can do.

However, it's almost certain that there is internal manipulation possible, as demonstrated by the phone skinning dll (phanc.dll or something like that, cant remember spelling). But I've never looked into that. Possibly in the future. But if you know how, I would investigate that dll first.

V

mamaich
1st March 2006, 02:30 AM
1) Redial last numberYou can make a program that would FindWindow(cprog), then PostMessage(left button click) to its "dial" button.

farbird
1st March 2006, 06:46 PM
i aint a programmer...
hehehe..

i shall wait for vijay if he has anything coming up that can help...

bepe
1st March 2006, 08:59 PM
cprog.exe -url tel:121 will start the phone application, and prompt you if you want to dial '121'.
cprog.exe -url dtmf:...

not tested

bepe
1st March 2006, 09:05 PM
[HKEY_CLASSES_ROOT\tel\Shell\Open\Command]
@="cprog.exe -n -url %1"

vijay555
1st March 2006, 09:14 PM
That reminds me of an old post:
http://forum.xda-developers.com/viewtopic.php?t=38003&highlight=tel+protocol

For making calls from webpages :)

V

farbird
3rd March 2006, 11:06 AM
no dice with bepe method

vijay555
3rd March 2006, 11:43 AM
1) Redial last number
2) Dial contacts [ evoking also :MSCONTACTS OR :MSPOUTLOOK ]
3) Enable Speaker phone
4) Dial specific queue number in call history
5) Dial speed dials number
6) Dial specific number [ ie call 123456789 ]

FarBird, it occurrs to me that although it's not the most elegant solution, a mort script would help you out here.

1. Mortscript.
2. How do you want to call contact? By name or number, or by interaction with the contacts app? Check out writing extensions for the MSContacts on MSDN for technical details.
3. Mortscript, or new VJPhoneShortcuts hopefully this weekend (on WM5 only. I've not played with hardware intervention on enabling Speakerphone on WM2003)
4. Mortscript.
5. Mortscript.
6. Write your own app or VJPhoneTools, or cprog with a command line.

I'll like to take the phone app apart a bit more to work through some of these on a more technical level, but for the cost benefit, Mortscript would almost certainly work.

The speed dial and call history pages are dynamically generated list views. As such, I don't think there's an easy way to command line into them - I think they're app controlled. Thus, mortscript generally.

Otherwise, you'd have to parse the call history yourself (not difficult, but is programming) and select and dial accordingly. Would be a nice app to write (I have most of this written already for VJEphemeris), but you would be dialing somewhat blind I think - how could you know who's in 4th place in call history without first showing the call history?

V