Author Topic: Vox Commando and windows shell commands  (Read 3993 times)

0 Members and 2 Guests are viewing this topic.

Tripper

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
    • View Profile
Vox Commando and windows shell commands
« on: July 15, 2014, 05:18:39 PM »
I am new to Vox commando and i have done some searching but i cant find a way to use windows shell commands in Vox can someone please help me.
I am trying to give Vox a command such as Open Control panel and have the action be something like  Launch.openfile or Launch.RawParam - ::{21EC2020-3AEA-1069-A2DD-08002b30309d}.
but i can figure out a way to make it work. :(

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Vox Commando and windows shell commands
« Reply #1 on: July 15, 2014, 05:27:32 PM »
Hi Tripper.  How would you normally do this from the command line?

Tripper

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Vox Commando and windows shell commands
« Reply #2 on: July 15, 2014, 05:45:12 PM »
well for instance using rainmeter the commands are used with button clicks in the .ini file .... such as
ButtonRight1="Control Panel"
ButtonRight1Path=::{21EC2020-3AEA-1069-A2DD-08002b30309d}
or using it in Mega vioce command they have it as the action in their shell commands section.
yes i know im not to bright in the programing part of this.

Tripper

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Vox Commando and windows shell commands
« Reply #3 on: July 15, 2014, 05:58:23 PM »
well for instance using rainmeter the commands are used with button clicks in the .ini file .... such as
ButtonRight1="Control Panel"
ButtonRight1Path=::{21EC2020-3AEA-1069-A2DD-08002b30309d}
or using it in Mega vioce command they have it as the action in their shell commands section.
yes i know im not to bright in the programing part of this.


Or this might be a better example of what a rainmeter command would be
LeftMouseDownAction= !Execute ["::{21EC2020-3AEA-1069-A2DD-08002b30309d}"]

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Vox Commando and windows shell commands
« Reply #4 on: July 15, 2014, 06:06:38 PM »
Well, I'm not too familiar with this stuff but these might help.  There might be a better way but at the moment I don't know of one.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.1-->
<commandGroup open="True" name="launch special stuff" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="1004" name="Open My Computer" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.Hidden</cmdType>
      <params>
        <param>c:\windows\system32\cmd.exe</param>
        <param>/c Explorer /E,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Open My Computer</phrase>
  </command>
  <command id="1010" name="Open Windows control panel" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.Hidden</cmdType>
      <params>
        <param>c:\windows\system32\cmd.exe</param>
        <param>/c Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Open Windows control panel</phrase>
  </command>
  <command id="1017" name="open Windows printers" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.Hidden</cmdType>
      <params>
        <param>c:\windows\system32\cmd.exe</param>
        <param>/c Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>open Windows printers</phrase>
  </command>
  <command id="1035" name="Open Network neighbourhood" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.Hidden</cmdType>
      <params>
        <param>c:\windows\system32\cmd.exe</param>
        <param>/c Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Open Network neighbourhood</phrase>
  </command>
  <command id="1013" name="Open My Documents" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.Hidden</cmdType>
      <params>
        <param>c:\windows\system32\cmd.exe</param>
        <param>/c Explorer /N,::{450D8FBA-AD25-11D0-98A8-0800361B1103}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Open My Documents</phrase>
  </command>
</commandGroup>

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Vox Commando and windows shell commands
« Reply #5 on: July 15, 2014, 06:16:57 PM »
This also works:
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.0-->
<command id="320" name="open control panel" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Launch.Hidden</cmdType>
    <params>
      <param>C:\Windows\System32\cmd.exe</param>
      <param>/c start ::{21EC2020-3AEA-1069-A2DD-08002B30309D}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Vox Commando and windows shell commands
« Reply #6 on: July 15, 2014, 06:19:58 PM »
This uses another method.  I'm not sure if it covers the same stuff or not.  More info about the params you can try is here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ee330741(v=vs.85).aspx

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.1-->
<commandGroup open="True" name="launch special stuff Another way" enabled="True" prefix="" priority="0" requiredProcess="" description="http://msdn.microsoft.com/en-us/library/windows/desktop/ee330741(v=vs.85).aspx">
  <command id="1019" name="Open Windows Personalization" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.RawParam</cmdType>
      <params>
        <param>c:\windows\system32\control.exe</param>
        <param>/name Microsoft.Personalization</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="1024" name="Open Microsoft Sound" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.RawParam</cmdType>
      <params>
        <param>c:\windows\system32\control.exe</param>
        <param>/name Microsoft.Sound</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="1029" name="Open Microsoft User Accounts" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.RawParam</cmdType>
      <params>
        <param>c:\windows\system32\control.exe</param>
        <param>/name Microsoft.UserAccounts</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="1032" name="Open Microsoft Windows Firewall" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.RawParam</cmdType>
      <params>
        <param>c:\windows\system32\control.exe</param>
        <param>/name Microsoft.WindowsFirewall</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="1028" name="Open Microsoft Notification Area Icons" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Launch.RawParam</cmdType>
      <params>
        <param>c:\windows\system32\control.exe</param>
        <param>/name Microsoft.NotificationAreaIcons</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
</commandGroup>

Tripper

  • Jr. Member
  • **
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Vox Commando and windows shell commands
« Reply #7 on: July 15, 2014, 06:30:14 PM »
Thank you so much !!! it's now working just as i wanted
with the other info you have given me getting the others to work should be a breeze

I am constantly talking to all my friends and family about Vox Commando and what i am able to do with it
you guy's are awesome keep up the great work ;D

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Vox Commando and windows shell commands
« Reply #8 on: July 15, 2014, 07:25:46 PM »
 ::wiggle