2 thoughts on “Getting and Setting Effect Values”

  1. Thank you for this. Your tutorials have saved me hours of work. I have a question that I would love if you addressed in your next video. First off Property Explorer is broken, just gives me an error. I am looking to find properties of a given clip on a sequence, I’ve been able to find a few things through projectItem, but can’t find the height/width anywhere. I know the property frameSizeHorizontal works for activeSequence but it doesn’t work for clips[]. I’m writing an auto scaling script and need that property. Let me know if you can help. Thanks!

    1. Hey Truckee,
      I asked a similar question on the Premiere forums a while back, only I was searching for the Video Usage metadata attribute: https://forums.adobe.com/message/9526141#9526141

      The code I would use for this would be something like this (with the assumption your looking at the first clip on the first track, of course)…

      var text = new XML(app.project.activeSequence.videoTracks[0].clips[0].projectItem.getProjectMetadata());
      var info= text.child(0).child(0).child(‘premierePrivateProjectMetaData:Column.Intrinsic.VideoInfo’);
      alert(info);

      There’s all sorts of good stuff in that XML. May I ask why scale to frame size isn’t working for you?

Comments are closed.