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
  • Add event to next track

Add event to next track

Teetow wrote on 10/19/2006, 7:20 AM
So, I have an event. I want to copy it to the next track.

Is the IEnumerator for Vegas.Project.Tracks normalized - as in, would currentEvent.Track.Index+1 give me the next track - always? (except when the current track is the last track, of course)

If not, how can I do this in a simple way?
Follow Thank You Quote
More
  • Direct link
  • Report
1 Answers Go to solution
Back to post

Comments

JohnnyRoy wrote on 10/19/2006, 8:46 PM
Yes currentEvent.Track.Index+1 will give you the next track or an exception if there is no next track.

~jr
Signature
Thank You Quote
More
  • Direct link
  • Report

John Rofrano
www.vasstsoftware.com
www.johnrofrano.com

  • Forum
  • Vegas Pro
  • Scripting
  • Add event to next track

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