<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444">Hi again,</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444">I am searching through the archive and the documentation and testing a lot, but sofar I didn't find anything that allows me to check, whether a textExpressiondefintion (or shape...) is in use or not.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444">When opening the Expression Tools, it is possible to delete entries. As long as such an entry is not in use, Finale just deletes it. But when the item is assigned to a note somewhere, a alert dialog pops up and offers either to replace it with another element or delete it from the library and score.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444">And this is exactly, what I am looking for: the check, whether the element is used somewhere in the score. Something like a flag on the object (e.g. "used": true).</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444">Can this be done with JW Lua? If so, what would be the proper way to go?</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444">Thanks for any hints!</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444">All the best,</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444">Robert</div>
</div>