denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] [bug #27404] Streamline initial vs. noninitial


From: anonymous
Subject: [Denemo-devel] [bug #27404] Streamline initial vs. noninitial
Date: Mon, 19 Oct 2009 00:17:05 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

Follow-up Comment #2, bug #27404 (project denemo):

This script is smart enough to figure out whether it should be the initial
clef or clef change based on whether it's at the beginning of the staff or
not.  It doesn't offer the user any choice and is based on whether the cursor
is as far right as it can go, or not:

(if 
 (not (d-CursorLeft) ) 
   (d-InitialClef)
   (
     (d-CursorRight)
     (d-InsertClef)
   )
)

This works for key changes and intial keys:

(if 
 (not (d-CursorLeft) ) 
   (d-InitialKey)
   (
     (d-CursorRight)
     (d-InsertKey)
   )
)

And not surprisingly, this works for time signatures:
(if 
 (not (d-CursorLeft) ) 
   (d-InitialTimeSig)
   (
     (d-CursorRight)
     (d-InsertTimeSig)
   )
)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27404>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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