VEGAS Creative Software Community
The Vegas Creative Software Support Community – Find help here
  • Forum
  • Tutorials
  • Support New
  • Sign in / register
  • Search ...
  • Help
  • Forum
  • Vegas Pro
  • Scripting
  • event.Copy problem

event.Copy problem

MikeGW wrote on 12/29/2005, 2:16 AM
I am getting an error with the following line

Vegas.Project.Tracks(6).Events(0).Copy(8,Timecode.FromString(0));

Can anyone tell me what I am doing wrong? I just want to copy the event from one track and put it into another track.

Thanks.
Follow Thank You Quote
More
  • Direct link
  • Report
2 Answers Go to solution
Back to post

Comments

jetdv wrote on 12/29/2005, 6:25 AM
Where you have 8 should be a TRACK.

i.e. something like:

var destTrack : Track = Vegas.Project.Tracks(8);
Vegas.Project.Tracks(6).Events(0).Copy(destTrack,Timecode.FromString(0));
Signature
Thank You Quote
More
  • Direct link
  • Report

Edward Troxel

http://www.jetdv.com

Home of Excalibur & Montage Magic

MikeGW wrote on 12/29/2005, 8:14 AM
Thanks!!! That did it.
Thank You Quote
More
  • Direct link
  • Report
  • Forum
  • Vegas Pro
  • Scripting
  • event.Copy problem

Report as questionable

Are you sure you want to report this commentpostuser as questionable?
You may be blocked if you misuse this feature!

Dialog

Follow us on
  • Community rules
  • Imprint
  • Privacy policy
  • Terms and conditions
United States
  • Additional offers
  • VEGAS Forum
  • MAGIX Magazine
(C) 2007 - 2025 MAGIX Software GmbH