www.jetdv.com Forum Index Edward Troxel
Vegas Scripting and Newsletters
Home of Excalibur and Montage Magic
 
 FAQ   Search   Memberlist   Usergroups   Register   Profile 
 Log in to check your private messagesLog in to check your private messages   Log inLog in 

Open a Media File?

 
Post new topic   Reply to topic    www.jetdv.com Forum Index -> Common Routines
View previous topic :: View next topic  
Author Message
ChrisFontenot13



Joined: 11 Nov 2004
Posts: 7
Location: Lafayette, LA

PostPosted: Fri Jul 13, 2007 6:28 pm    Post subject: Open a Media File? Reply with quote

I'm updating a bunch of Vegas 4 scripts and I can't seem to figure out the proper syntax for opening a media file.

For Instance, one of our scripts allows us to open an mpg, drop markers to create a number of Jpegs, and then open the next .mpg automatically.

What is the new syntax?

Thanks in advance,
Chris
Back to top
View user's profile Send private message Visit poster's website
Edward Troxel
Site Admin


Joined: 14 Jul 2004
Posts: 5468

PostPosted: Fri Jul 13, 2007 7:13 pm    Post subject: Reply with quote

That process hasn't changed from version 4. Take a look at this page and see if you can find your answer:

http://www.ayizwe.net/VegasScripts/FAQ.html

If you still have questions, bring them back here and I'll try to help any way I can.
Back to top
View user's profile Send private message Send e-mail
ChrisFontenot13



Joined: 11 Nov 2004
Posts: 7
Location: Lafayette, LA

PostPosted: Fri Jul 13, 2007 8:10 pm    Post subject: Reply with quote

Well, it has somewhat.

Vegas.OpenProject used to automatically do most of that (strangely enough); we've been using the scripts that way for years, but it looks like OpenProject won't do it anymore.

This works, though, and I'll be updating our old scripts with it. All I need to do is have it create a new track if there is none and it'll work just fine.
Back to top
View user's profile Send private message Visit poster's website
Edward Troxel
Site Admin


Joined: 14 Jul 2004
Posts: 5468

PostPosted: Fri Jul 13, 2007 8:17 pm    Post subject: Reply with quote

I've never used "Vegas.OpenProject" to load media. I've always used the method of creating a media object and setting it to the file to be loaded.

The only time I've used the "OpenProject" method is when actually opening a project.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    www.jetdv.com Forum Index -> Common Routines All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group