Action to target and close a specific window upon Exit

I have a course published to EXE. Within the course there are several buttons that launch PDFs.


When the user clicks Exit to leave the course, they get an error message if a PDF is still open. My users are not very computer savvy, so I'd like to force any open PDFs to close when the user exits the course.


How would I accomplish this? Currently, I open the PDF via a Launch document/program. If I open it via goto Web address and launch it in a new window, I think I could use an action to target that new window when I exit the course, but I can't figure out how to target that new window.

Discussions have been disabled for this post