Re: Always need to restart Preview on OS X

2005-09-06 Thread Jukka Akkanen
Unfortunately, and unexpectedly, Preview is not really scriptable. Just about the only thing you can do with applescript is to make it quit; one way to do that in a shell script is: osascript -e 'tell app "Preview" to quit' Another initially confusing thing with Lilypond.app on Mac OS X

Re: Always need to restart Preview on OS X

2005-09-06 Thread Hans Aberg
On 6 Sep 2005, at 01:35, Han-Wen Nienhuys wrote: One could in principle close the PDF files using AppleScript commands, but I do not know how to do it, or if Preview supports it. Preview is a standard MacOS app made by Apple themselves, so it would be *very* strange if it didn't support

Re: Always need to restart Preview on OS X

2005-09-05 Thread Han-Wen Nienhuys
Hans Aberg wrote: On 5 Sep 2005, at 02:31, Will Duquette wrote: I'm using Lilypond 2.6.3 on Mac OS X 10.4. When I compile an .ly file, it shows the PDF in OS X's Preview application. If I then make changes to the file and compile it again, it pops up Preview but Preview doesn't reload the PDF

Re: Always need to restart Preview on OS X

2005-09-05 Thread Hans Aberg
On 5 Sep 2005, at 02:31, Will Duquette wrote: I'm using Lilypond 2.6.3 on Mac OS X 10.4. When I compile an .ly file, it shows the PDF in OS X's Preview application. If I then make changes to the file and compile it again, it pops up Preview but Preview doesn't reload the PDF file. If I want t

Always need to restart Preview on OS X

2005-09-05 Thread Will Duquette
Howdy! I'm using Lilypond 2.6.3 on Mac OS X 10.4. When I compile an .ly file, it shows the PDF in OS X's Preview application. If I then make changes to the file and compile it again, it pops up Preview but Preview doesn't reload the PDF file. If I want to see my changes, I need to close the Pre