A challenge...I cant figure it out.

Wednesday, December 18, 2002 by alex d | Discussion: WinCustomize Talk

Ive been trying to get an avi to play when I boot up my comp (running xp) and then close, ala hackers (i know its not a real hacking movie, spare the lecture on how its fake, the boot screens they had were cool). Is there a way to do this? it seems so easy but ive been trying for days and i cant get anywhere

Powered by SkinBrowser!
wombat_1
Reply #1 Wednesday, December 18, 2002 11:53 PM
Control panel, sound settings, change sound scheme ......

Powered by SkinBrowser!
citats
Reply #2 Thursday, December 19, 2002 1:26 AM
Playing at boot is simple but closing the avi player of your choice is difficult unless the player has an option to close when the avi playing is complete.

Powered by SkinBrowser!
JamMeister33
Reply #3 Thursday, December 19, 2002 1:30 AM
I've never heard of anything that could play an avi file on bootup and then shut itself off...
Don't think it can be done.
IMHO


Powered by SkinBrowser!
da_zman20
Reply #4 Thursday, December 19, 2002 3:32 AM
I have an idea... i don't know if this will work... but make a batch file... you can use the command start... and the file name... it should play... or enter the wmplayer exe file in the command line... but of course the parameters will be the file you want to play... and put a link to that batch file in your start up folder... hmmm... as for closing it... hmmm..... that's a hard one... unless xp has some way to do it... confusing...

Powered by SkinBrowser!
JamMeister33
Reply #5 Thursday, December 19, 2002 3:39 AM
my point exactly.....

Powered by SkinBrowser!
JamMeister33
Reply #6 Thursday, December 19, 2002 3:41 AM
Not worth wasting a lot of hours trying to make it happen...
What's more important is that your computer starts up faithfully
and does what you need it to do.

Powered by SkinBrowser!
Hell Dragon
Reply #7 Thursday, December 19, 2002 7:13 AM
Ok... here ya go

Make a batch file(.bat) that includes this line in it, and place it in your 'Startup' folder.

mplayer2 /play /close /fullscreen thepath\filename.avi

example:

mplayer2 /play /close /fullscreen c:\windows\clock.avi

This will basically play your avi fullscreen when XP starts and exit it automatically when it is finished playing.

Please note that it only works with Windows Media Player 6.0 hence using the mplayer2.exe - but this file comes with XP.
pjpowell
Reply #8 Thursday, December 19, 2002 11:11 AM
I have just (in the last 5-10 mins) created an app that can take a filename as a parameter and display that AVI file full screen closing after it has played once. It would be trivial to extend this to accept window size settings/positions. It simply runs a timer in the background to check if the current position is at the end of the clip. If it is it closes itself. It's not very pretty but it would hopefully do the job. Will try to put it on my website later if you are interested.

Powered by SkinBrowser!
alex d
Reply #9 Thursday, December 19, 2002 9:05 PM
im interested.
also, how do i make a batch file?
alex d
Reply #10 Thursday, December 19, 2002 10:00 PM
ok
i found out how to make a batch file
and i found that mplayer2.exe /play /close /fullscreen C:\Alex\Movies\f.avi works in the run command prompt. but putting it into a batch file doesnt do nothing, it just brings up a dos prompt for 2 seconds.
Hell Dragon
Reply #11 Friday, December 20, 2002 6:50 AM
Ok, forget the batch file - just make a shortcut to "C:\Program Files\Windows Media Player\mplayer2.exe" /play /close /fullscreen c:\windows\clock.avi

and put that in your startup folder

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01