Open the Preferences Window and click on Automation
- Under the “On Document Open: Export” area select IDML
- Pick a path where you want the IDML file to be saved
- Under the “On Export” section select “Open in Default Application” and then underneath that select “Always open IDML in” and select InDesign CC 2019 (You need to manually select InDesign CC 2019). Or, you can select another version of InDesign as long as it is CS4 or later.
- Also, make sure you uncheck the “Show in Finder” checkbox
- Make sure and select the “Close Document” checkbox