VoxCommando
Help and Support (Using VoxCommando) => VoxCommando Basics and Core Features => Topic started 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.
-
https://support.microsoft.com/en-us/kb/152457
Use info from the link with launch :)
-
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:
<?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.
<?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>
-
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?
-
Thanks everyone! I knew there had to be a fairly simple way(s)!!! I've got it working.