Hi,
I am trying to have an event happen during file transfer. I would like the
status bar to go to 30, play the Rev.wav and continue while playing the
Idle.wav asynchrously and continuous. I would like this same event to happen
around 60. I don't think it's possible to connect an event with the value of
the status bar.
Basically, what I need is for a constant idling engine and a couple of rev's
during the install.
Any ideas? I think I have to reset the STATUS, but don't know how to do it
when I only have one call to ComponentMoveData.
Thanks for any help.
Steve
function MoveFileData()
NUMBER nResult, nDisk;
begin
nDisk = 1;
SetStatusWindow(0,"");
Disable( DIALOGCACHE );
Enable( STATUS );
StatusUpdate( ON, 100 );
Enable( INDVFILESTATUS );
PlayMMedia ( MMEDIA_WAVE , SUPPORTDIR ^ "Rev.wav" , MMEDIA_PLAYSYNCH , 0 );
PlayMMedia ( MMEDIA_WAVE , SUPPORTDIR ^ "Idle.wav" , MMEDIA_PLAYASYNCH |
MMEDIA_PLAYCONTINUOUS , 0 );
nResult = ComponentMoveData( MEDIA, nDisk, 0 );
PlayMMedia ( MMEDIA_WAVE , SUPPORTDIR ^ "Rev.wav" , MMEDIA_PLAYSYNCH , 0 );
Disable( STATUS );
return nResult;
end;