'MediaTrackEvent' type or namespace name could not be found.

YOUNHEE-LEE wrote on 11/28/2024, 4:33 AM

I am using ScriptPortal.Vegas; and have referenced it, but...

The error message says: "'MediaTrackEvent' type or namespace name could not be found. Please ensure you have the correct using directive or assembly reference."

Errors have occurred.

Does anyone know the reason for this and the solution?

 

Comments

zzzzzz9125 wrote on 11/28/2024, 5:46 AM

MediaTrackEvent doesn't exist at all. Do you want to use TrackEvent?

I recommend checking VEGAS Pro Scripting API Summary to see what you can and can't use in the script.

jetdv wrote on 11/28/2024, 9:19 AM

Here's the newest API for VEGAS Pro 22:

https://help.magix-hub.com/video/vegas/22/en/content/topics/external/scriptapi.htm?#