denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Problem with Score Title and question about automatic


From: Richard Shann
Subject: Re: [Denemo-devel] Problem with Score Title and question about automatic movement numeration
Date: Sat, 25 Feb 2017 09:42:16 +0000

On Sat, 2017-02-25 at 09:15 +0000, Richard Shann wrote:
> you can put
I should have said "put at the beginning"
> 
> (while (d-PreviousMovement))
> 
> which will move to the first movement, avoiding the danger that one
> day
> you run your command with the cursor in the 10th movement, and don't
> notice that the earlier movements haven't been renumbered.

and a nice extra would be to put

(d-PushPosition)

at the start and 

(d-PopPosition)

at the end. Then the cursor will not move when executing the code - well
it will move back to where it started after it's done its stuff.

Richard




reply via email to

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