I am still very pressed for time, but I remembered you were talking
about a \once \override which has to *precede* the chord, so either
d-DirectivePut-chord-prefix (with overrride DENEMO_OVERRIDE_AFFIX) would
be needed, or a standalone directive before the chord in question...
Richard
On Wed, 2012-10-31 at 10:17 +0100, Andreas Schneider wrote:
> Hi,
>
> is there a howto for creating a new user-defined script? I couldn't find
> one using Google. I want to create a simple script that shall appear in
> the menu, which creates uses one score command on the current note. This
> command must be globally defined in the score. In my case:
>
> define at the beginning of the score
> ficta = { \once \set suggestAccidentals = ##t }
> use \ficta on the current note
>
> I know that the scripts Notes/Rests > Append/Edit Note > Suggest Sharp,
> Suggest Flat and Suggest Neutral exist, but with these the notes
> themselves must not have the accidental so that the midi sounds wrong.
> Omitting the \once, the \ficta command could also be used for all notes.
>
> Andreas
>
> _______________________________________________
> Denemo-devel mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/denemo-devel
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel