[JWplugins] why DeleteData() doesn't work on FCTextExpressionDef ?
lists.jc.michel at symetrie.com
lists.jc.michel at symetrie.com
Wed Jul 2 00:08:40 CEST 2014
Hi,
Try this :
local teds = finale.FCTextExpressionDefs()
teds:LoadAll()
print(teds.Count, "text expressions")
local ted = finale.FCTextExpressionDef()
ted:Load(4) — replace 4 with the ID of a text expression defined in your file
print(ted:DeleteData())
teds:LoadAll()
print(teds.Count, "text expressions")
Here is the output for me:
416 text expressions
true
3 text expressions
Why deleting a text expression def (not used anywhere in the doc) produces such a mess ?
Is it a bug of Lua interface ?
More information about the JWplugins
mailing list