denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] Setting preferences from scripts


From: Richard Shann
Subject: [Denemo-devel] Setting preferences from scripts
Date: Sat, 03 Oct 2009 18:11:42 +0100

I have defined a new procedure for scheme d-SetPrefs which allows you to
set preferences from a script. The problem has been that some
preferences are not so fixed - in my case, I want to turn immediate
playback on and off. I can now do it with the script

;;;;; SetImmediatePlayback
(d-SetPrefs "
<immediateplayback>1</immediateplayback>"
)
;;;;

that is, you pass the xml as found in the denemorc file, for setting the
preference you need.

I have put this command in the Edit menu (for now - eventually I will
probably want a button for this).
My next target is the overall size of scores (which defaults to 16pt,
but which I have to keep changing - it is lost in an old score
properties dialog).

Richard






reply via email to

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