INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: jwilson56 on December 10, 2004, 08:54:07 am
-
Is there a way to get mjextman.exe to pause all the zones? It would be slow and painful to have to cycle through each zone and pause.
If not would there be any other way to pause all zones together?
I am working with Netremote and Homeseer and want to pause my 5 zones when the phone rings. Right now I am muting my amps but that doesn't stop the tracks so a pause would be nicer.
John
-
Girder. ;) One NetRemote button that links to a Girder multigroup with send message (I prefer that over mjextman commands) discrete pause for each channel. It happens so fast you'd think it was one command doing it all.
-
Not being familiar with Girder how would you go about doing that? Actually I would be executing this from a Homeseer script that rusn when the phone rings.
John
-
I have answered that in your Promixis thread, but basically this is the script you would use in Girder (with the LUA Windows Functions plug-in):
WindowHandle = FindWindow ("MJFrame",nil)
result = PostMessage ( WindowHandle, 33768, 10022, 16777216)--zone 0 (first)
WindowHandle = FindWindow ("MJFrame",nil)
result = PostMessage ( WindowHandle, 33768, 10022, 33554432)--zone 1 (second)
WindowHandle = FindWindow ("MJFrame",nil)
result = PostMessage ( WindowHandle, 33768, 10022, 50331648)--zone 2 (third)
WindowHandle = FindWindow ("MJFrame",nil)
result = PostMessage ( WindowHandle, 33768, 10022, 67108864)--zone 3 (fourth)
WindowHandle = FindWindow ("MJFrame",nil)
result = PostMessage ( WindowHandle, 33768, 10022, 83886080)--zone 4 (fifth)
--WindowHandle = FindWindow ("MJFrame",nil)
--result = PostMessage ( WindowHandle, 33768, 10022, 100663296)--zone 5 (sixth)