Delete Empty Text Blocks
Zach Manring
zmanring at mdpennysaver.com
Fri Apr 11 15:49:43 CDT 2008
Ok im getting burnt out about this..
Any ideas?
tell application "MultiAd Creator Pro"
set textcount to number of text flow of document 1
repeat with i from 1 to textcount
select text flow i of document 1
set ztextcount to count every character of text flow i of document 1
if ztextcount < 1 then
select text flow i of document 1
-- after its selected then I don't how to select it as an element, if I use
it as "I" then it deletes the wrong element.
delete
end if
end repeat
end tell
More information about the Creator
mailing list