blaxslash, Im getting close to finishing the Avi plugin. I Just need to finish up a few things with the sound, and then I'll give it a go on testing.
If everything goes right, this is what we got right now:
OPEN AVI TO WRITE filename, ShowDialog, FPS, SoundID, hWnd, left, top, right, bottom
Parameters:
filename - name of the new avi file.
ShowDialog = True/False flag for compression dialog.
FPS - Video Frames Per Second for the avi.
SoundID - DBPro Sound you wish to add to the avi.
hWnd - Window Handle to the source output to capture frames from. The frame capture gets the client region of that window. Also provides the avi compression dialog the parent window.
left, top, right, bottom - area of client window region to capture.
How Use Pseudo-code:
OPEN AVI TO WRITE "Test.avi", 1, 30, 1, GET DBPRO WINDOW(), 0, 0, 200, 200
REPEAT
<animation code here>
...
SYNC
ADD AVI FRAME
UNTIL finished
CLOSE AVI
The code above makes use of IanM's Matrix Utility.