mare wrote:
>
> David Pexton kindly wrote:
> >Hello
> > I need a script which finds those markers in my movie
> >that are marked in the score but have no name. I would then like to
> >have lingo delete them. Is this possible?
>
> I think you could do it with scorerecording. But AFAIK the only way to
> delete a marker is by using deleteFrame. So you might need to recreate the
> deleted frame (if there are 1 frame spritespans in your movie) after the
> deletion. Not very easy.
Actually, not too hard:
on cleanlabels
beginRecording
repeat with i = (the labelList.line.count) down to 1
go marker(the labelList.line[i])
if the frameLabel = "" then
duplicateFrame
deleteFrame
end if
end repeat
endRecording
end cleanlabels
Works for me in D7.0.2, but have a backup copy.
--
Carl West [EMAIL PROTECTED]
617.262.8830 x246
I have no superfluous leisure; my stay must be
stolen out of other affairs; but I will attend you awhile.
- Isabella, Measure for Measure, Act 3 Scene 1
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]