Premise How to control msense with keypads..?

Motorola Premise

123

Senior Member
hi i'm trying to integrate some msense commands with my nuvo keypads, but i'm having a bit of difficulty doing it. Basically i want it so that when i press next track on the nuvo keypad it tells msense to play the next track.. i know how to capture the keypad commands, by doing

if Instr(txtIn,"FWD") then

Here’s the part where i'm stuck, how do i make a command to tell msense to go to the next track. I've tried copying a command from the automation browser to see if that would work but it didn't.

I'm learning programming more day by day, but i've been working on this for a week with no breakthrough.. i do however have the ability to make the keypads display time and date, and, i'm working on a driver for the netcaller id, which i can get to display the name and number on the keypads, just working out a few glitches in getting the system to mute..

after i have a little more done, i hope to release what i've added (open source of course) onto the essentia driver to have a bunch of cool things (time & date, caller id, possibly weather later) display on nuvo concerto keypads, not to mention them being able to control msense..

any help is appreciated! thanks!
======================
This sounds like an interesting project. Does the essentia module work with the concerto? I didn't realize they used the same protocol.

Unfortunately, I'm at the beach with my family and I don't have access to my setup. I can't give you any specific guidance, but it seems to me you need to find what Media Zone (at the home level) the Concerto zone is bound to. I'm quoting this from memory so no promises.

Code:
'  Assuming that you have an object that contains the concerto zone - cZone
set pZone=cZone.CurrentUse
'  pZone should have the Media Zone object at the home level.  If it's null, then this concerto
'  zone isn't in-use
Once you have that, you can do something like:
if not (pZone is Nothing) then
	pZone.RunCommand("NextTrack")
end if
'  to play the next item in the playlist (or album).

Again, the trick is to get an object reference to the media zone. Once you do that, you have access to a bunch of methods and properties.

Hope this helps,

-John
 
Back
Top