Need help cloning a track with ALL settings

Zsolt wrote on 7/26/2004, 8:47 AM
Hello,
I'm looking for a way to clone a track just like it's possible to do when user
clicks on "Duplicate Track" function on the GUI. For example I was looking
at the API but couldn't find how to copy the original track's volume and pan
settings (not the envelopes but the ones on the track object itself...)
I didn't have much success with envelopes and effects as well. :(((
I can see how could be done by copying down to each every envelope point
but isn't here an easier way ? I'm afraid it will take too much time as well.
Regarding effects copy is there a way to copy an (audio) effect chain
where the effects settings are not saved in presets yet but the user works
on them and everything is stored in temporary buffers (I suppose...) ?
Thanks:
Zsolt