[OS X TeX] Need applescript

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Wed Jun 14 12:08:40 EDT 2006


George,

A week or so ago, when you raised a similar request by asking for a  
convenient way to select a page from a pdf document converting it to  
a ps document and open the latter by Illustrator, I sent you an  
Applescript solution which worked perfectly on my side - apart from  
Illustrator which I don't own - but didn't work in your set up.

 From your latest  request I learnt that your document has the same  
basename as the folder it is in which causes the failure  as I  
checked, for reasons that I can only guess and but won't  pursue  
further.

Thus, my advice is to try my old script and using different names for  
your file(s) and folder.

Claus


On Jun 13, 2006, at 7:36, George Gratzer wrote:

> I would need an applescript that does the following:
>
> I have a folder, open, the frontmost folder, say called slim.
>
> In the folder, there is a pdf file, open, say on page 7.
>
> The applescript should delete pages 1 - 6 and 8 - end of slim.pdf,  
> so slim.pdf is only one page, the old page 7.
>
> Can somebody help?
>
> GG
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>          & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list