News:

If you have an Android device, check out VoxWav!

Main Menu

Map delete key

Started by Haddood, May 28, 2015, 05:26:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Haddood

is there a way to delete a map entry ? maybe using Map.Query with SQL delete ... if so some examples will be great help (been more than 5 years since i last wrote sql queries)
When Voice command gets tough, use hand gestures

PegLegTV

#1
in the example below where it says "PTVL" (without the "") is the map name

in between the "" where it says Map Key is where you will put the key that you want to delete


<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.5-->
<command id="1184" name="Delete map entry" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Map.Query</cmdType>
    <params>
      <param>delete from PTVL where fromKey="Map Key"</param>
    </params>
    <cmdRepeat>{#M}</cmdRepeat>
  </action>
</command>


hope this is what you are looking for

Note: Post by Jitterjames on deleting map key's  http://voxcommando.com/forum/index.php?topic=1649.msg14354#msg14354

Haddood

Quote from: PegLegTV on May 28, 2015, 05:41:19 PM

hope this is what you are looking for


Bulls Eye ... and sorry for re-posting I did search the forum ... for some reason I did not find the mentioned post
When Voice command gets tough, use hand gestures

PegLegTV

I did the same thing a couple months back with the same thing  :bonk lol