VoxCommando

Help and Support (Using VoxCommando) => VoxCommando Basics and Core Features => Topic started by: bobsbrewery on September 03, 2015, 11:02:07 PM

Title: Should be simple, but....
Post by: bobsbrewery on September 03, 2015, 11:02:07 PM
Can anyone tell me how to open a specific folder on my computer? Sure, you can use getfiles to return the contents of a folder, but I simply want to open one, like my documents, videos, or music.
Title: Re: Should be simple, but....
Post by: Haddood on September 04, 2015, 02:49:16 AM
https://support.microsoft.com/en-us/kb/152457

Use info from the link with launch :)
Title: Re: Should be simple, but....
Post by: nime5ter on September 04, 2015, 08:06:58 AM
If you just want to open a folder without doing anything, use Launch with the file path. No need to use the command line.

http://voxcommando.com/mediawiki/index.php?title=Actions#Launch

The following example opens a subfolder of your VoxCommando folder using a relative path. If opening a folder that's not a VC folder use the full path:
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.7-->
<command id="356" name="open payloads folder" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Launch</cmdType>
    <params>
      <param>payloads</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>open payloads folder</phrase>
</command>

However, the Launch.CMD action also allows you to use shell folder shortcuts, for those who find that useful:

http://ss64.com/nt/shell.html

e.g.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.7-->
<command id="371" name="Launch My Documents" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Launch.CMD</cmdType>
    <params>
      <param>Explorer shell:CommonDocuments</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Launch My Documents</phrase>
</command>
Title: Re: Should be simple, but....
Post by: jitterjames on September 04, 2015, 09:08:16 AM
https://support.microsoft.com/en-us/kb/152457

Use info from the link with launch :)

@Haddood, could you please post an example of how to use this information?
Title: Re: Should be simple, but....
Post by: bobsbrewery on September 04, 2015, 12:10:53 PM
Thanks everyone! I knew there had to be a fairly simple way(s)!!! I've got it working.