Hello - looking for barbone basics on how to take an InDesign document, and automatically create a .pdf file using an automated script. I'm just trying to understand how this script is automatically run? Is it through the application itself or from the OS? Eventually we will take this process and run on InDesign server, and leveraging .xml files as well. The server is headless, and again I'm assuming that this automation is done at the OS level? Any help would be much appreciated! Thank you.