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
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
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
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
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