SHARE
TWEET

Untitled

a guest Jan 5th, 2014 869 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function myFFInfo(clip c, string "bonusText") {
  2.  
  3. varprefix = FFVAR_PREFIX
  4. bonusText = default(bonusText, "")
  5.  
  6. c.frameevaluate("""
  7.        fftempstring = ""
  8.        varprefix = """" + varprefix + """"
  9.        bonusText = """" + bonusText + """"""")
  10.  
  11. frameevaluate("""fftempstring = fftempstring + "Frame Number: " + string(current_frame) + " of " + string(framecount()) + "\n" """, after_frame=true)
  12. frameevaluate("""fftempstring = fftempstring + "Picture Type: " + chr(eval(varprefix + "FFPICT_TYPE")) + "\n" """, after_frame=true)
  13. frameevaluate("""fftempstring = fftempstring + bonusText """, after_frame=true)
  14.  
  15. return scriptclip("subtitle(fftempstring, lsp = 1)", after_frame=true)
  16.  
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top