Open data source, sync with data source, open document and paginate at guide positions

Open a data source, close all the panels for it, synchronize with new data, open a new panel, open a document, paginate at guide positions.

To install this script, navigate to the Adobe InDesign Application Directory and paste the script file into the following folder ‘Scripts -> Scripts Panel’. The script can then be run from the Scripts panel; this is found in ‘Window -> Utilities -> Scripts’.