On Wed, 2017-04-26 at 20:18 +0200, Johan Vromans wrote: > On Wed, 26 Apr 2017 18:33:03 +0100, Richard Shann <[email protected]> > wrote: > > > For example, the script > > > > (d-MoveToMeasureLeft) > > (d-MoveToMeasureLeft) > > (d-MoveToMeasureLeft) > > (d-DenemoPlayCursorToEnd) > > > > would move the cursor four bars back from where you are editing and > > start playing to the end.
Just put (d-PushPosition) .... (d-PopPosition) around the above to keep the cursor at the same place. > > Moving the cursor doesn't look like a good idea, since after playing I want > to continue editing at the same spot I was. > > Maybe best is to have a (shortcut to a) command that plays from "Playback > Start" to end without moving start/end points and cursor? 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. Richard _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
