lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?


From: Phil Holmes
Subject: Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)
Date: Sat, 17 Mar 2012 11:05:59 -0000

----- Original Message ----- From: "Wilbert Berendsen" <address@hidden>
To: <address@hidden>
Sent: Friday, March 16, 2012 8:40 PM
Subject: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)


Op Thu, 15 Mar 2012 07:36:33 -0400
Father Gordon Gilbert <address@hidden> schreef:

For whatever reason, Fresco was not showing the full path to LilyPond.
 Never had this problem before, but when I put it in there, all
worked!

Frescobaldi just tries if 'lilypond.exe' (or 'lilypond-windows.exe',
which does not open a console window) can be found in the operating
system's PATH.

If not, you should open the preferences, select the 'lilypond' entry in
the list and click 'Edit'. There, specify the full path to the
lilypond-windows.exe program.

But in upcoming Frescobaldi 2.0.5 I have added some additional logic to
look for LilyPond in other locations, even if they are not in the PATH.
Currently "C:\Program Files\LilyPond\usr\bin" is searched, and I can
add more (need to test current git on Windows with newer LilyPond
versions yet).

--
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


Clearly for windows only, but an alternative is to look in the program files directory for the shortcut. c# code that does this is:

string ProgMenu = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
string [] LilyDirs = Directory.GetDirectories(ProgMenu, "*lily*");


--
Phil Holmes





reply via email to

[Prev in Thread] Current Thread [Next in Thread]