View Single Post
Old 09-03-2020, 06:24 PM   #3
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,285
Karma: 98804578
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by MarjaE View Post
If anyone with more programming experience wants to rework this, feel free. A platform-independent and cpdf-independent version would be useful.
As an initial reaction, I suggest adding the following to the top of the script:
Code:
export K2PDFOPT_HOME=~/Applications
export OUTDIR=/Users/Marja/Splice
and replace all instances of "~/Applications" with "$K2PDFOPT_HOME"
and of /Users/Marja/Splice with "$OUTDIR"
(or any names you prefer). That way others (and you) only have to edit a couple of lines at the top to make a change in location of k2pdfopt and output directory.
j.p.s is offline   Reply With Quote