<div dir="ltr"><div><div>There is an overlap in the audience, I had read your question at TSX, already. What happenend to the advice given there?<br><br></div>If I can recall, it was suggested to simply run a bash script (that calls the ghostscript command line tool) on the command line. This should not leave them open.<br>
<br></div>Uwe<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-06 4:21 GMT+02:00 eSage Techie <span dir="ltr"><<a href="mailto:steve.k@esage.co.nz" target="_blank">steve.k@esage.co.nz</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I have placed a similar request for help a<b>t <a href="http://tex.stackexchange.com/questions" target="_blank">tex.stackexchange.com/questions</a>,</b> so apologies if this reaches the same audience. I am hoping it won't.</div>
<div><br></div><div><div>With Mac OS 10.7.5 I need to convert about 13,800 PostScript files to PDF and find that of the apps that use Ghostscript and Apple's own distiller (Such as <b>Preview</b> or the<b> PS-to-PDF</b> app), only Ghostscript will work. I have tried the Ghostscript app <b>Pstill</b>, but it doesn't do a  good job in my case. </div>
<div><br></div></div><div>I have installed <b>TeXworks</b> package and find that <b>TeXworks</b> and <b>TeXShop</b> correctly distill the PostScript files but leaves the PDFs on-screen, so batch processing means that the app takes progressively longer and longer to process files as the memory fills up and the screen is full of PDFs. Eg. The first 250 files take 5 minutes. The next 250 takes 10 minutes, and so on till the app stops responding. Even after completing only 250 files, <b>TeXShop</b> stops responding for ages so it tales a long time to start to close the on-screen PDFs.</div>
<div><br></div><div>To get around this problem, I figure that either <b>TeXShop</b> (1st preference as it seems faster) or <b>TeXworks</b> must be able to covert (distill) these files without leaving them open or without opening them on-screen in the first place.</div>
<div><br></div><div><b>So, question</b>: How can <b>TeXShop</b> or any other similar GhostScript app be configured to batch process the files? I can't find built in tools for this but can't believe it's not possible. I considered using <b>Automator</b> app but gave up because i still couldn't find a way to progressively process the files and close the window after each conversion.</div>
<div><br></div><div>I am new to the whole PS to PDF distilling scene so I prefer a solution that's not very difficult to implement for a newbie. I am confident to mess with scripts and <b>Terminal</b> if I have clear instruction.</div>
<div><br></div><div>Any help is much appreciated.</div><div><br>----- configuration info -----<br>TeXworks version : 0.4.4r1004 (release)<br>Install location : /Applications/TeX/TeXworks.app<br>Library path<span> </span> <span>  </span> : /Users/esage/Library/TeXworks/<br>
pdfTeX location<span> </span> : not found<br>Operating system : Mac OS X 10.7.5 (Darwin Kernel Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386)<br>Qt4 version<span> </span> <span> </span> <span> </span> : 4.8.1 (build) / 4.8.1 (runtime)<br>
------------------------------<br>

</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Uwe Ziegenhagen<br><<a href="http://www.uweziegenhagen.de" target="_blank">http://www.uweziegenhagen.de</a>></div>
</div>