[JW Lua] Delete paga-texts
Bart Visser
bartvisser at me.com
Wed Jan 8 21:04:24 CET 2014
Hi,
I’m trying to delete all page texts in a score. If I run this script, only a few text blocks are deleted. If I run the script again, some other ones are deleted, etc. (So running the script 4 or 5 times deletes them all). Am I doing something wrong?
local page_texts = finale.FCPageTexts()
page_texts:LoadAll()
for p in each(page_texts) do
p:DeleteData()
end
Thanks,
Bart Visser
More information about the JWLua
mailing list