<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://jitterjames.net/voxcommandoWiki/index.php?action=history&amp;feed=atom&amp;title=Maps</id>
	<title>Maps - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://jitterjames.net/voxcommandoWiki/index.php?action=history&amp;feed=atom&amp;title=Maps"/>
	<link rel="alternate" type="text/html" href="https://jitterjames.net/voxcommandoWiki/index.php?title=Maps&amp;action=history"/>
	<updated>2026-10-16T11:37:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://jitterjames.net/voxcommandoWiki/index.php?title=Maps&amp;diff=131&amp;oldid=prev</id>
		<title>James: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://jitterjames.net/voxcommandoWiki/index.php?title=Maps&amp;diff=131&amp;oldid=prev"/>
		<updated>2021-01-13T17:24:58Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:24, 13 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>James</name></author>
		
	</entry>
	<entry>
		<id>https://jitterjames.net/voxcommandoWiki/index.php?title=Maps&amp;diff=130&amp;oldid=prev</id>
		<title>Jitterjames: /* Map Variables */</title>
		<link rel="alternate" type="text/html" href="https://jitterjames.net/voxcommandoWiki/index.php?title=Maps&amp;diff=130&amp;oldid=prev"/>
		<updated>2016-06-20T12:12:18Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Map Variables&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:mapEditor.png |right |450px]]Maps are used to store and retrieve key-value pairs.  They are a convenient way to store and access more complex values that can be used within commands. This can be extremely useful for values such as IR codes, device IDs, and API keys.&lt;br /&gt;
&lt;br /&gt;
Map tables are really just sql data tables with two columns.  Unlike user variables, values stored in map tables are non-volatile, meaning that they will not lose their value when VoxCommando is closed, and then restarted.&lt;br /&gt;
&lt;br /&gt;
=Map Editor=&lt;br /&gt;
Using the map editor, we can view and edit maps directly, delete maps and create new maps.  &lt;br /&gt;
&lt;br /&gt;
==Accessing the Map Editor==&lt;br /&gt;
&lt;br /&gt;
The map editor can be accessed two ways.&lt;br /&gt;
&lt;br /&gt;
*From the Main VoxCommando window by clicking: File &amp;gt;&amp;gt; Open Map Editor&lt;br /&gt;
*From the [[Logical_Command_Builder|LCB]] when editing a command, by clicking the &amp;quot;Open Map&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You can select any existing map using the &amp;quot;Map Table&amp;quot; dropdown list on the right.&lt;br /&gt;
&lt;br /&gt;
=Actions=&lt;br /&gt;
There are several core [[Actions#Map|actions]] for modifying and reading maps and their values within commands.&lt;br /&gt;
&lt;br /&gt;
*Map.CreateTable&lt;br /&gt;
*Map.DropTable&lt;br /&gt;
*Map.ExportPayloadXML&lt;br /&gt;
*Map.Get&lt;br /&gt;
*Map.GetKey&lt;br /&gt;
*Map.Set&lt;br /&gt;
*Map.Query&lt;br /&gt;
&lt;br /&gt;
You can also directly store matches acquired from previous actions in a command to a map using the action [[Actions#MatchToMap|Results.MatchToMap]].&lt;br /&gt;
&lt;br /&gt;
=Map Variables=&lt;br /&gt;
Once stored in a map, individual map values can be accessed as needed within our commands. &lt;br /&gt;
&lt;br /&gt;
Within the LCB, we can open the map of interest, find the value we are looking for, and simply drag and drop the value into our actions where needed. (See the videos listed below for demonstrations.)&lt;br /&gt;
&lt;br /&gt;
When dragged into an action, the map value is displayed as a variable of the form: '''{M:mapName.keyName}'''.&lt;br /&gt;
[[File:map_variable.png]]&lt;br /&gt;
&lt;br /&gt;
You could also manually type the name of the map variable in the action parameter field; however, the drag and drop method ensures the variable name will be accurate.&lt;br /&gt;
&lt;br /&gt;
=Video tutorials and demos=&lt;br /&gt;
The following videos are the best way to familiarize yourself with VC's map functions.&lt;br /&gt;
*[http://www.youtube.com/watch?v=k-kwIkmPDtI&amp;amp;feature=share&amp;amp;list=PL5EB7936BE8F07625 Introduction to Maps]&lt;br /&gt;
*[http://www.youtube.com/watch?v=-M7htWfF3tQ&amp;amp;feature=youtu.be&amp;amp;t=12m56s Voice Control Vera Home Automation (2nd half)]&lt;br /&gt;
*[http://www.youtube.com/watch?v=rNUQacQblXM Fastest way to learn IR codes from your remotes with USB-UIRT], and the related tutorial:&lt;br /&gt;
*[http://www.youtube.com/watch?v=bcrYcS30-fU VoxCommando Tutorial - Learning IR Codes with USB-UUIRT device and voice commands]&lt;br /&gt;
*[http://www.youtube.com/watch?v=RdkHRnv36yY Learn IR codes from your remotes with Global Caché iTach Wifi2IR]&lt;/div&gt;</summary>
		<author><name>Jitterjames</name></author>
		
	</entry>
</feed>