title: Using a script to automate importing XML into Indesign
body: <p>I have been using a script that automated importing a XML file into InDesign and generate a PDF. This is using automation software called Enfocus Switch. This script was working fine:</p>
  <pre class="lang-js prettyprint-override"><code>var NameOfFile = $arg1;
  $doc.importXML( File(NameOfFile) );
  </code></pre>
  <p>Now Indesign 2020 has a menu pop up keeping the workflow from working. It is asking for import options. Any idea how to add to my script to move forward from the menu?</p>