Author Topic: Confirmation of Actions Message Box in WMC  (Read 3809 times)

0 Members and 1 Guest are viewing this topic.

AgileHumor

  • Contributor
  • ***
  • Posts: 62
  • Karma: 3
    • View Profile
Confirmation of Actions Message Box in WMC
« on: February 23, 2014, 07:06:04 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Confirmation of Actions Message Box in WMC
« Reply #1 on: February 23, 2014, 07:18:54 PM »
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

  • Contributor
  • ***
  • Posts: 62
  • Karma: 3
    • View Profile
Re: Confirmation of Actions Message Box in WMC
« Reply #2 on: February 23, 2014, 10:03:27 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Confirmation of Actions Message Box in WMC
« Reply #3 on: February 23, 2014, 10:14:46 PM »
Yup. Something like that.

You can paste this into your command tree.

Code: [Select]
<?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

  • Contributor
  • ***
  • Posts: 62
  • Karma: 3
    • View Profile
Re: Confirmation of Actions Message Box in WMC
« Reply #4 on: February 24, 2014, 09:33:27 PM »
Works perfectly.  Now my "Fire Phasers" has a safety :)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Confirmation of Actions Message Box in WMC
« Reply #5 on: February 24, 2014, 09:36:30 PM »
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

  • Contributor
  • ***
  • Posts: 62
  • Karma: 3
    • View Profile
Re: Confirmation of Actions Message Box in WMC
« Reply #6 on: February 25, 2014, 03:18:58 AM »
I had to add "Engage" to the true list :)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Confirmation of Actions Message Box in WMC
« Reply #7 on: February 25, 2014, 08:20:20 AM »
I enjoy using "make it so", or "make it so so"

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Confirmation of Actions Message Box in WMC
« Reply #8 on: February 25, 2014, 08:33:45 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Confirmation of Actions Message Box in WMC
« Reply #9 on: February 25, 2014, 08:40:06 AM »
Then do  they say for "Energize"? (when using the transporter?)

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Confirmation of Actions Message Box in WMC
« Reply #10 on: February 25, 2014, 08:49:23 AM »
I don't know, it's a long time since I've seen TNG  ::)
***********  get excited and make things  **********

AgileHumor

  • Contributor
  • ***
  • Posts: 62
  • Karma: 3
    • View Profile
Re: Confirmation of Actions Message Box in WMC
« Reply #11 on: February 25, 2014, 11:41:20 AM »
I enjoy using "make it so", or "make it so so"

Gotta add that :)