<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Jari,</div><div><br></div><div>Thanks for this - simple, of course, when you know how! In due course, I think it would be useful to us developers if you were able put a few more simple tasks like this on your "QuickScripts" page, which are extremely useful in finding your feet in the language!</div><div><br></div><div>Cheers,</div><div><br></div><div>Dave</div><div><br></div><div><pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">On 2013-10-28 15:07, Dave Foster wrote:
><i> Could you do me a favour and post a sample script showing how to
</i>><i> create a note in an empty bar - I'm going in circles here trying
</i>><i> to figure out cells, FCNoteEntryCells and what to load / save etc.!
</i>
-- cell: measure 1, staff id 1
notecell = finale.FCNoteEntryCell(1, 1)
notecell:Load()
-- Append to layer 1, add 1 entry
entry = notecell:AppendEntriesInLayer(1, 1)
entry.Duration = finale.QUARTER_NOTE
entry.Legality = true -- Must be set
entry:MakeNote()
notecell:Save()
Best regards,
Jari Williamsson</pre><div><br></div></div></body></html>