In my program I create a pdf file, which is displayed and then can be printed. If a further pdf file with the same name is generated, the program crashes, since this filename as pdf is opened.
Is there a command that verifies that the file is already in use? Or can one query the pdf reader is active?
Is there a command that verifies that the file is already in use? Or can one query the pdf reader is active?