LOCAL oProject AS Project
LOCAL x AS DWORD
oProject:=SELF:oVegas:Project
VAR oSelectedTracks := FROM oTrack AS track IN oProject:Tracks WHERE oTrack:Selected SELECT oTrack
x:=0
FOREACH oTrack AS Track IN oSelectedTracks
FOREACH oEvent AS TrackEvent IN oTrack:Events
IF oEvent:Selected
x++
ELSE
oEvent:Selected:=TRUE // gives an error when in an extension !! but works as a simple script ...
ENDIF
NEXT
NEXT
I have the impression that an extension can't change parameters... there must be something that I don't know :-)
programming language = Xsharp a new emerging language I like a lot because it is very readable
The docs to make extensions are very ... lacking, a lot of links leading to nothing (except adds for Vegas)