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.

this is a script that deletes all frames with empty labels. it might be OK
for your needs. Use with caution however, save your movie under another
name before testing!

on cleanlabels

  beginRecording
    go frame 1
    repeat with i = 1 to (the labelList.line.count)
      go marker(1)
      if the frameLabel = "" then deleteframe
    end repeat
  endRecording

end cleanlabels

--
mare

New: The OSControl Xtra
This sprite Xtra draws various UI-controls like push buttons, bevel
buttons, checkboxes, scrollbars and more in the OS appearance on both
Macintosh and Windows. More info: http://www.peghole.com/xtras

[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!]

Reply via email to