View Full Version : Start a movie with WMP at specified time
divxdede
20th March 2002, 12:16
I want to know if it have a way for launch Windows Média Player 6.4
with a vidéo and it start it directly at a specified time (like 2mins30) ??????
if someone know how make that , i thanks him in advance :)
Wizard_FL
21st March 2002, 14:21
Do you mean to implement this in a batch file? Otherwise you might try to schedule the command with the windows sheduler, just use mplayer2.exe %1 where %1 represents the name of the file you want to play. If you want to use the command line in a batch file but you need to delay it's execution, there are a number of utilities you could use to achieve that result. Which one you use depends on the platform you are running it on... Try Sleep or Choice, or you can download one (I'm sure there are plenty).
divxdede
21st March 2002, 14:39
no you don't understand what i want, but it's my fault my question was ambigous !!
i want to start a vidéo at a spécific time inside the vidéo !!
so i want to launch a vidéo with WMP but not start at the beggining of the vidéo !!!
any idea ?
Wizard_FL
21st March 2002, 14:47
Only thing I can think about right now is to simulate keys being pressed.
Wizard_FL
21st March 2002, 15:03
Found something... Have you tried creating an asx file? It's basically a text file that tells the player which file to play and how. The cool thing is that you can specify the start time!
Look at this link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcewmt/htm/_wcesdk_asx_asx_elements_reference.asp
divxdede
21st March 2002, 15:15
Very thx :))) it's that i need !!! all that i need :)))))))))
i hope that i will can help you a day !!! :)
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.