Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Check if output file is blocked #119

Closed
gasteigerjo opened this issue Sep 6, 2015 · 3 comments
Closed

Check if output file is blocked #119

gasteigerjo opened this issue Sep 6, 2015 · 3 comments

Comments

@gasteigerjo
Copy link

If I compile while the output file (pdf) is opened with Adobe Reader and therefore blocked, the compilation freezes. I need to restart Atom to remedy this error. This lock should be checked before compilation.

@m0nhawk
Copy link
Contributor

m0nhawk commented Sep 7, 2015

This should be better done via DDE, it supported in both Acrobat and Sumatra.

Thus, It'll require only DocClose before the build and DocOpen latter.

@thomasjo
Copy link
Owner

thomasjo commented Sep 7, 2015

This should be better done via DDE, it supported in both Acrobat and Sumatra.

Except there is, to my knowledge, no sensible way to work directly with DDE/OLE from Node.js. Simply put, there's no way I'm implementing any code for that in this package. However, if there exists a reasonable npm package that provides DDE/OLE interop, I'd likely merge a PR using it.

At the end of the day, I have to maintain all the code in this package, and DDE/OLE is a rabbit hole that I'd rather not venture into.

@yitzchak
Copy link
Collaborator

I am closing this since a DDE dependency is not a direction that we want to go. Will reopen if needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants