|
From: | Gianmaria Lari |
Subject: | Re: frescobaldi destination temp folder |
Date: | Sat, 21 Apr 2018 09:44:44 +0200 |
Am 20.04.2018 um 23:06 schrieb Gianmaria Lari:
When I want to try a lilypond snippet using Frescobaldi, I normally create a new file and I compile it without save it explicitly. Frescobaldi saves it for me in a temporary folder (in my Frescobaldi settings I have "Save the document if possibile" checked).
For example if I do it now, in the lilypond log window I read:
Starting lilypond-windows.exe 2.19.81 [Untitled (4)]... Processing `C:/Users/GIANMA~1/AppData/
Local/Temp/frescobaldi- ' Parsing... Interpreting music... Preprocessing graphical objects... Interpreting music...n5pqsywf/tmp0fvvk0ae/document. ly .....
So the termporary path where it is saving my lilypond source is
C:/Users/GIANMA~1/AppData/Local/Temp/frescobaldi- n5pqsywf/tmp0fvvk0ae/document. ly
I'm writing a small program that make some processing on the lilypond source file and the pdf/png file and I would need this path information.Does Frescobaldi writes this path in any (log) file? Alternatively, is there any way to make Frescobaldi/lilypond writing the compile result in a file as well as in the lilypond log window?
I'm not sure what you want to achieve here.
It might be possible to access the information you are looking from through a Frescobaldi Snippet (which may be written in Python), but could you state more explicitly what your "small program" should be doing with your unsaved LilyPond code?
[Prev in Thread] | Current Thread | [Next in Thread] |