<?xml version="1.0"?>
<Denemo>
  <merge>
    <title>A Denemo Keymap</title>
    <author>AT, JRR, RTS</author>
    <map>
      <row>
        <after>OpenSecondTimeBar</after>
        <action>EndVolta</action>
        <scheme>;;;EndVolta
(if (d-Directive-standalone? "EndVolta")
	(let  ((choice (d-GetOption  (string-append (_ "Delete") stop (_ "Advanced") stop))))
	(if (equal? choice (_ "Delete"))
		(d-DirectiveDelete-standalone "EndVolta")
		(d-DirectiveTextEdit-standalone "EndVolta")))
	(begin
(d-Directive-standalone "EndVolta")
(d-DirectivePut-standalone-minpixels  "EndVolta" 50)
(d-DirectivePut-standalone-postfix "EndVolta" "
\\set Score.repeatCommands = #'((volta #f))
")
(d-DirectivePut-standalone-gx  "EndVolta" 18)
(d-DirectivePut-standalone-gy  "EndVolta" -36)
(d-DirectivePut-standalone-graphic "EndVolta" "EndSecondTimeBar")
(d-MoveCursorRight)))
(d-SetSaved #f)
(d-RefreshDisplay)
 </scheme>
        <label>End 1st/2nd Time Bar</label>
        <tooltip>Ends a volta, that is a n'th time bar</tooltip>
      </row>
    </map>
  </merge>
</Denemo>
