OK guys I have a very basic question. I was a programmer for C, C++, AWK, and a few other languages many years ago. I am rusty at finding what I am looking for in API documentation.
I need to write a script that will change the Alpha mode on selected events. I ca n probably pull the code together to get each selected event, but Ihave to test it to make sure it is a video event. Then I have to set the Alpha.
Syntax:
enum VideoAlphaType
Fields: Summary:
VideoAlphaType.Undefined undefined alpha mode
VideoAlphaType.None no alpha channel
VideoAlphaType.Straight straight alpha channel
VideoAlphaType.Premultiplied premultiplied alpha
VideoAlphaType.PremultipliedDirty premultiplied (dirty)
Is VideoAlphaType a property or variable within the TrackEvent type? I am used to seeing docs as class maps.
I am going to try to write in JS since it is closer to the old C++ I am used to. Am I totally lost?
I do find that MediaType is a public of TrackEvent so I can test that. Now I need to find the VideoAlphaType.
BTW, what I am trying to write is a script to change the Alpha properties of Digital Juice animations selected on the timeline. The DJ two step is getting old.
I need to write a script that will change the Alpha mode on selected events. I ca n probably pull the code together to get each selected event, but Ihave to test it to make sure it is a video event. Then I have to set the Alpha.
Syntax:
enum VideoAlphaType
Fields: Summary:
VideoAlphaType.Undefined undefined alpha mode
VideoAlphaType.None no alpha channel
VideoAlphaType.Straight straight alpha channel
VideoAlphaType.Premultiplied premultiplied alpha
VideoAlphaType.PremultipliedDirty premultiplied (dirty)
Is VideoAlphaType a property or variable within the TrackEvent type? I am used to seeing docs as class maps.
I am going to try to write in JS since it is closer to the old C++ I am used to. Am I totally lost?
I do find that MediaType is a public of TrackEvent so I can test that. Now I need to find the VideoAlphaType.
BTW, what I am trying to write is a script to change the Alpha properties of Digital Juice animations selected on the timeline. The DJ two step is getting old.