Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)
Op Sat, 17 Mar 2012 11:05:59 - Phil Holmes m...@philholmes.net schreef: - Original Message - From: Wilbert Berendsen wbs...@xs4all.nl 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*); Thanks for the hint! I now look in the ProgramFiles environment variable and search that path for 'LilyPond*\\usr\\bin' subfolders. This should find normally installed LilyPonds in Windows. -- Wilbert Berendsen (http://www.wilbertberendsen.nl) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)
- Original Message - From: Wilbert Berendsen wbs...@xs4all.nl To: lilypond-user@gnu.org Sent: Friday, March 16, 2012 9:40 PM Subject: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?) 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). Can you add C:\Program Files (x86)\LilyPond\usr\bin ? Helge ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)
- Original Message - From: Wilbert Berendsen wbs...@xs4all.nl To: lilypond-user@gnu.org 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 fatherg...@gmail.com 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)
Op Thu, 15 Mar 2012 07:36:33 -0400 Father Gordon Gilbert fatherg...@gmail.com 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) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user