;ShortInstrumentName
(let ((current "") (thematch ""))
  (if (d-Directive-staff? "DynamicsStaff")
    (begin
        (d-WarningDialog (_ "Instrument Name should not be set on a Dynamics Line"))
        (d-DirectiveDelete-staff tag))
    (begin
      (set! current (d-DirectiveGet-staff-postfix "ShortInstrumentName" ))
      (if (boolean? current)
          (set! current "Vln")
          (begin
        (set! thematch (string-match "\\\\set Staff.shortInstrumentName = \"([^\"]*)\"" current))
        (if (regexp-match? thematch)
            (set! current (match:substring thematch 1))
            (set! current "Vln"))))
      (set! current (d-GetUserInput (_ "Short Instrument Name") (_ "Give Short Instrument Name:") current))
      (if current
        (let ((indent "0")( size (/ (string->number (d-ScoreProperties "query=fontsize")) 10.0))) 
            (d-DirectivePut-staff-display "ShortInstrumentName" current)
            (d-DirectivePut-staff-override "ShortInstrumentName"  DENEMO_OVERRIDE_GRAPHIC)
            (d-DirectivePut-staff-postfix "ShortInstrumentName"  (string-append "\\set Staff.shortInstrumentName = \"" current "\""))
            (set! indent (max (string->number indent) (* size (string-length current))))
            (d-ScoreShortIndent indent)
            (d-SetSaved #f))))))
