#Before you'll be able to use these commands you'll need to
#put the MENU name inside the quotes in the first
#line, and put the STATE name inside the quotes in
#the quotes in the second line.  If you don't know the
#MENU name of the application you want to use these 
#commands in you can open that application then open the
#New Command Wizard in NaturallySpeaking can do to use
#Application-specific.  You SHOULD there see the
#MENU name you'll need to use in this command.  For
#example, the MENU name for the Windows Phone Dialer
#is DIALER.  If you need to edit the "Key" list, it is
#in the Written Word\Spoken Word format.  The easiest
#way to edit the list is to find the commands in the
#Edit Command Wizard in NaturallySpeaking and change
#the list of there.
#
#For much better directions on creating commands in
#NaturallySpeaking refer to the Voice Command Guide.
#You can download this guide from the Dragon site at
#http://www.dragonsys.com/pdfs/products/voicecmd.pdf
#Contact me at chadt@inficad.com if there are any problems.
#
MENU "MENU Name Here" {
	STATE "STATE Name Here" {
		COMMAND "<Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				SendKeys MID$(_arg1,0,num1&-1)
			}
		}

		COMMAND "<Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1)
			}
		}

		COMMAND "<Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				num12&=instr(_arg12,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1) + MID$(_arg12,0,num12&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				num12&=instr(_arg12,"\")
				num13&=instr(_arg13,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1) + MID$(_arg12,0,num12&-1) + MID$(_arg13,0,num13&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				num12&=instr(_arg12,"\")
				num13&=instr(_arg13,"\")
				num14&=instr(_arg14,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1) + MID$(_arg12,0,num12&-1) + MID$(_arg13,0,num13&-1) + MID$(_arg14,0,num14&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				num12&=instr(_arg12,"\")
				num13&=instr(_arg13,"\")
				num14&=instr(_arg14,"\")
				num15&=instr(_arg15,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1) + MID$(_arg12,0,num12&-1) + MID$(_arg13,0,num13&-1) + MID$(_arg14,0,num14&-1) + MID$(_arg15,0,num15&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				num12&=instr(_arg12,"\")
				num13&=instr(_arg13,"\")
				num14&=instr(_arg14,"\")
				num15&=instr(_arg15,"\")
				num16&=instr(_arg16,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1) + MID$(_arg12,0,num12&-1) + MID$(_arg13,0,num13&-1) + MID$(_arg14,0,num14&-1) + MID$(_arg15,0,num15&-1) + MID$(_arg16,0,num16&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				num12&=instr(_arg12,"\")
				num13&=instr(_arg13,"\")
				num14&=instr(_arg14,"\")
				num15&=instr(_arg15,"\")
				num16&=instr(_arg16,"\")
				num17&=instr(_arg17,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1) + MID$(_arg12,0,num12&-1) + MID$(_arg13,0,num13&-1) + MID$(_arg14,0,num14&-1) + MID$(_arg15,0,num15&-1) + MID$(_arg16,0,num16&-1) + MID$(_arg17,0,num17&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				num12&=instr(_arg12,"\")
				num13&=instr(_arg13,"\")
				num14&=instr(_arg14,"\")
				num15&=instr(_arg15,"\")
				num16&=instr(_arg16,"\")
				num17&=instr(_arg17,"\")
				num18&=instr(_arg18,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1) + MID$(_arg12,0,num12&-1) + MID$(_arg13,0,num13&-1) + MID$(_arg14,0,num14&-1) + MID$(_arg15,0,num15&-1) + MID$(_arg16,0,num16&-1) + MID$(_arg17,0,num17&-1) + MID$(_arg18,0,num18&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				num12&=instr(_arg12,"\")
				num13&=instr(_arg13,"\")
				num14&=instr(_arg14,"\")
				num15&=instr(_arg15,"\")
				num16&=instr(_arg16,"\")
				num17&=instr(_arg17,"\")
				num18&=instr(_arg18,"\")
				num19&=instr(_arg19,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1) + MID$(_arg12,0,num12&-1) + MID$(_arg13,0,num13&-1) + MID$(_arg14,0,num14&-1) + MID$(_arg15,0,num15&-1) + MID$(_arg16,0,num16&-1) + MID$(_arg17,0,num17&-1) + MID$(_arg18,0,num18&-1) + MID$(_arg19,0,num19&-1)
			}
		}

		COMMAND "<Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key> <Key>" {
			SCRIPT {
				num1&=instr(_arg1,"\")
				num2&=instr(_arg2,"\")
				num3&=instr(_arg3,"\")
				num4&=instr(_arg4,"\")
				num5&=instr(_arg5,"\")
				num6&=instr(_arg6,"\")
				num7&=instr(_arg7,"\")
				num8&=instr(_arg8,"\")
				num9&=instr(_arg9,"\")
				num10&=instr(_arg10,"\")
				num11&=instr(_arg11,"\")
				num12&=instr(_arg12,"\")
				num13&=instr(_arg13,"\")
				num14&=instr(_arg14,"\")
				num15&=instr(_arg15,"\")
				num16&=instr(_arg16,"\")
				num17&=instr(_arg17,"\")
				num18&=instr(_arg18,"\")
				num19&=instr(_arg19,"\")
				num20&=instr(_arg20,"\")
				SendKeys MID$(_arg1,0,num1&-1) + MID$(_arg2,0,num2&-1) + MID$(_arg3,0,num3&-1) + MID$(_arg4,0,num4&-1) + MID$(_arg5,0,num5&-1) + MID$(_arg6,0,num6&-1) + MID$(_arg7,0,num7&-1) + MID$(_arg8,0,num8&-1) + MID$(_arg9,0,num9&-1) + MID$(_arg10,0,num10&-1) + MID$(_arg11,0,num11&-1) + MID$(_arg12,0,num12&-1) + MID$(_arg13,0,num13&-1) + MID$(_arg14,0,num14&-1) + MID$(_arg15,0,num15&-1) + MID$(_arg16,0,num16&-1) + MID$(_arg17,0,num17&-1) + MID$(_arg18,0,num18&-1) + MID$(_arg19,0,num19&-1) + MID$(_arg20,0,num20&-1)
			}
		}

		LIST "Key" {
			"a\\a"
			"b\\b"
			"c\\c"
			"d\\d"
			"e\\e"
			"f\\f"
			"g\\g"
			"h\\h"
			"i\\i"
			"j\\j"
			"k\\k"
			"l\\l"
			"m\\m"
			"n\\n"
			"o\\o"
			"p\\p"
			"q\\q"
			"r\\r"
			"s\\s"
			"t\\t"
			"u\\u"
			"v\\v"
			"w\\w"
			"x\\x"
			"y\\y"
			"z\\z"
			"{Space}\\Space"
		}
	}
}