I currently compile .pdf files using TeXnicCenter with the following settings in Build -> Define Output Profiles -> Viewer -> Close document before running LaTeX:
Server: AcroViewR11 Command: [AppExit] Topic: control
When TeXnicCenter compiles and views output, this closes all of the open instances of Adobe Reader (for example: two Acrobat windows open, each with a single PDF shown - one window contains the document being compiled, the other contains the reference document), compiles the new PDF, then opens the new file.
Although this works perfectly well for some jobs, it does close all instances of Adobe Reader including the other .pdf files open in the background. Many workflows involve composing a file using LaTeX whilst also referencing a separate .pdf file which should be kept open.
Can someone suggest a different command that would close only the instance of Adobe Reader that relates to the current document being compiled?
An even simpler workaround I had considered before posting the question was to open the reference PDF in a separate viewer, and continue using Adobe with the [AppExit] command (this doesn't require any alteration of TeXnicCenter settings).
The objective here is to find a command that will simply shut the correct window - it must be possible, and it has worked with previous versions.
– someone Oct 10 '15 at 13:22