Re: invoking Lilypond from a script

2005-04-25 Thread Kris Shaffer
Thanks for the input, guys. The dirname and basename were exactly what I needed, working with cd in the shell. I had some trouble getting AppleScript to interface properly with Bash in executing these, so I reverted to perl (where I'm much more comfortable) to do the actual work. (I'm sure there

Re: invoking Lilypond from a script

2005-04-09 Thread Arjan Bos
Just to rule out things, I take it you looked at the "convert - DVI to Postscript.scpt" that comes with the folder actions (or a similar one)? My guess is that you need to use the --output=FILE option of Lilypond. This option is in 2.4.2. I haven't checked with 2.2.5 due to lack of availability

Re: invoking Lilypond from a script

2005-04-08 Thread Erik Sandberg
On Friday 08 April 2005 19.29, Kris Shaffer wrote: > Thanks for making such a great product. I love using Lilypond. I am > currently working on an applescript app for Mac OS X that will allow a > .ly file to be dragged to a Lilypond icon to create the PDF score > without using the command line.

Re: invoking Lilypond from a script

2005-04-08 Thread David Rogers
Kris Shaffer wrote: >...I'm wondering if there is a reason why it would not automatically >export to the originating folder, as it does when I invoke it in the >terminal. Perhaps the Applescript calling the shell script is the >problem? Let me know if you know of a reason this may be behaving >u