[JW Lua] Deleting a given Test/Shape Expression Def
Charles O. Lawrence
charlesolawrence at bellsouth.net
Sat Sep 6 21:36:33 CEST 2014
What is the proper way to delete a given Text/Shape Expression Definition?
I tried the following snippet, but it always seems to delete ALL the
text/shape definitions. The print always says true. There is code that
determines if I want to actually delete an expression within the .'s. The
resulting Expression Selection dialog box is empty except for one ffff.
Help!
local textExpDefs = finale.FCTextExpressionDefs()
textExpDefs:LoadAll()
.
.
.
for ted in each(textExpDefs) do
.
.
.
print ("\t",ted:DeleteData(ted.ItemNo))
.
.
.
end
Thanks,
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20140906/96160e43/attachment.htm>
More information about the JWLua
mailing list