[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Found solution to changing spacers to print
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Found solution to changing spacers to print |
Date: |
Fri, 18 Jan 2019 19:49:22 +0000 |
On Fri, 2019-01-18 at 08:58 -0800, rain wrote:
> It may be useful to add (d-MoveCursorRight) to the end, which becomes
> handy when editing a row of spacers;
yes, that should be standard for this type of editing command - I've
updated the script.
Richard
>
> ~R
>
>
> ---- On Wed, 16 Jan 2019 04:06:56 -0800 Richard Shann <address@hidden
> .plus.com> wrote ----
>
> I think being able to toggle between non-printing and printing rests
> should be available in the commands. This is the script that does
> it:
> It un-sets the selection, the sets it to the object at the cursor
> then
> toggles the non-printing status and then un-sets the selection again
> and tells Denemo that the score has been changed.
>
> (d-UnsetMark) ;unset selection
> (d-SetMark) ;select object at cursor
> (d-SetNonprinting (not (d-GetNonprinting))) ;toggle non printing
> (d-UnsetMark)
> (d-SetSaved #f)
>
> I'll add this as a command - you can do that yourself, of course, by
> putting the script into the Scheme window and then using the usual
> right-click in the Rest Insertion menu.
>
> Richard
>
>