News:

HOT TIP! In the command editor, you can ctrl-click and drag an item to create a copy of it.

Main Menu

Confirmation of Actions Message Box in WMC

Started by AgileHumor, February 23, 2014, 07:06:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AgileHumor

Hello, I just purchased VOXCommando and love it.

I did have an issue with requiring confirmations for specific actions don't pop in WMC.   I have the WMC Pop Up Commands enabled in settings...and it works for alternates, though I have that disabled.

If this doesn't exist, and your open to adding it, it would be swell if the MsgBox has a title of "CONFIRM" and the message box the text of the command (don't list all the options to say like your OSD since there is limited space in WMC).

Running Windows Media Center on Windows 8 x64.

jitterjames

Hi AgileHumor and welcome to the VC Forum.

I must say I did not even know if the OSD and Alternate popups were working correctly in Win8.  I had thought that there was a problem with the VMC plugin for WMC on Win8

Could you please tell us which VMC plugin you installed?  Did you need to do anything special to get it working?

I have a Win8.1 machine that I can do some testing on. Let me get back to you.

I have some ideas about this and I think I may be able to give you a solution in the form of a command that you can paste into your tree, but if not I am open to making an update to the software to make it possible.

AgileHumor

Sure, I found you need to use an old one for 32bit PC's and new build for 64 bit.  I know the 64bit works, but can't vouch for the 32 bit. YMMV

x32 - http://vmccontroller.codeplex.com/releases/view/23251
x64 - http://vmccontroller.codeplex.com/releases/view/45909

I'm assuming the command will be something like:
WMC:msgbox "Confirm" "YourCommandTextasVariable"

jitterjames

Yup. Something like that.

You can paste this into your command tree.

<?xml version="1.0" encoding="utf-16"?>
<command id="1112" name="send confirm msg to WMC" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>WMC</cmdType>
    <cmdString>msgbox "Confirmation Required" "{LastSpoken}%0D-Go ahead, Yes please%0D-No Thanks, Nevermind" 5</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>Confirm.*</event>
</command>

AgileHumor

Works perfectly.  Now my "Fire Phasers" has a safety :)

jitterjames

Obviously you can edit the "Go ahead, Yes please%0D-No Thanks, Nevermind" part to match whatever you normally say to confirm a command, and you can change the 5 if you want.  It is the time in seconds to display the popup for.  the %0D stands for newline.

AgileHumor


jitterjames

I enjoy using "make it so", or "make it so so"

Kalle

Haha, this is so funny when I read this, because in the german TV series of TNG -  Picard said "Energie" = "energy" but in the german cinema movie he said "machen Sie es so" = "make it so" which sounds in german really strange.
***********  get excited and make things  **********

jitterjames

Then do  they say for "Energize"? (when using the transporter?)

Kalle

I don't know, it's a long time since I've seen TNG  ::)
***********  get excited and make things  **********

AgileHumor