Message 1 of 3
Help fixing almost perfect auto publish lisp

Not applicable
03-17-2019
02:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I was searching for some time after the ultimate auto-publish lisp for my C++ project.
I needed something simple with minimum input and I finally found it but it has 2 problems
the output file is XPS (I need PDF), and I have no control over multi-sheet file or single sheet files...
can some one please help me fix it ?
(vl-load-com) (defun Autopublish:StartReactor () (or *AutopublishReactor* (setq *AutopublishReactor* (vlr-docmanager-reactor nil '( (:vlr-documentbecamecurrent . Autopublish:DocumentBecameCurrent) ) ) ) ) (princ) ) (defun Autopublish:DocumentBecameCurrent (rea doc) (if (and *AutopublishReactor* (= 1 (getvar 'automaticpub))) (prompt (strcat "\n[BlackBox] : AUTOMATICPUB = " (itoa (setvar 'automaticpub 0)) ) ) ) (princ) ) (Autopublish:StartReactor)