13.0

Table Of Contents
Dragon 13 Administrator Guide
documentbasedonthesampletemplate.Boththetemplateandthecommandsare
designedtoworkinMicrosoftWord2003or2007.
Importing Structured Commands
Youcanimportexistingstructuredcommands,suchastheStructuredCommandsSamples,
intoDragontouseastemplatesforyourowncommands.Usethefollowingprocedureto
importthesamplestructuredcommandsthataresuppliedwithDragon:
To import the sample structured commands:
1. OntheNewDragonBarorClassicDragonBarToolsmenu,clickCommandBrowserto
opentheCommandBrowserwindow.
2. ClicktheManagebuttonontheCommandBrowsertoolbar.
3. IntheManagearea,clicktheImportbutton,andintheImportCommandswindowchoose
MyCommandsXMLfilesfromtheFilesoftypelist.
4. UsetheImportCommandswindowtobrowsetothedirectory.You'llfinditinthefollowing
location:
n Windows 7, Windows 8:
\Pro-
gramData\Nuance\Nat-
urallySpeaking13\Data\<language>\samplecommands
5. Selectoneofthesample.XMLfiles(forexample,sampletgv_restaurant.xml)andclick
Open.
6. ClickYesontheImportCommandsvalidationdialogboxandthenclickImportonthe
ImportCommandswindowtoimportthecommandscontainedinthefile.
Note:ThesyntaxofXMLcommandfilesisdefinedbyadocumenttypedefinition(DTD)file
thatresidesontheNuanceWebsite.WhenyouimportanXMLcommandfile,theapplication
givesyoutheoptionofvalidatingthesyntaxoftheXMLfileagainsttheDTD.Thevalidation
stepisusefulifyoureceiveaXMLcommandfilefromanotherpersonandwanttocheckitfor
syntaxerrorspriortoimportingit.
7. ClickOKonthesuccessmessageandreturntotheManageareaoftheCommand
Browser.
To examine the sample code
1. OpentheCommandBrowserandclicktheManagebutton.
2. Expandandselecttheappropriateitem(forexample,“<restaurant_type>Menu”)
3. ClicktheToScriptbuttonandthenclicktheEditbutton.
TheMyCommandsEditordialogboxopenswiththecommandyouselectedenteredintoit.
YoucanexamineandmodifythecommandwiththeMyCommandsEditor.
271