PDA

View Full Version : "Seek" coommand in argument line


Phantom
08-17-2005, 02:56 AM
Hallo! I'd like to play in my AMS application video files by Windows MediaPlayer, installed in user's PC. But I do not want to use MediaPlayer Objects, because I want to allow to user have full control of Windows MediaPlayer, to keep the same settings and skin that he set already.

I have made some buttons and added commands like that:
File.Execute
%WinDir%\Program Files\Windows MediaPlayer\wmplayer.exe
And in arguments line I wrote:
%SrcDir%\File1.avi

Is there any way to include in arguments line the “seek” command to begin playing the file from specific time? Something like that: %SrcDir%\File1.avi /seek 500? :huh