On Wed, 2017-04-26 at 22:52 +0200, Johan Vromans wrote:
>  That's also quite feasible - after moving to the end you could use
> > (DenemoSetPlaybackEnd)
> > 
> > to place the end marker there, then (d-Play)
> > with, as before push and pop position to keep the cursor position
> > unchanged.
> 
> I'll give this a try... Stay tuned.

Actually, to reliably restore the cursor position after (d-Play) has
finished playing you need to do this

(d-PushPosition)
(d-Play "(d-PopPosition)")

as otherwise while playing Denemo may scroll the screen to follow the
music and thus disturb the cursor position *after* you have popped it
(that is the d-Play command does not block waiting for play to finish).
So d-Play can take a script as a parameter to be run after the Play is
finished.

Richard



_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to