Jump to content

autoplay a .wmf file command


vnavna
 Share

Recommended Posts

I am trying to figure out if there is a way to script a launching of a video file that will play in either wmplayer classic or Windows media player. I am going for the classic version more so due to the fact that I can set the repeat setting up in the registry.

If anyone knows how to call or start a specific video file without having to open up the media player application first please let me know.

Otherwise I will just have to go back to a simple batch command.

Link to comment
Share on other sites

Run('"C:\Program Files\Windows Media Player\wmplayer.exe " "C:\Documents and Settings\username\My Documents\My Videos\INK.wmv"')

Note:

The space after the .exe before the double quote.

No comma between the exe and its parameter (the file to be played).

I only tested the syntax using Media Player Classic.

Sorry - I could not post/test the syntax in my earlier post.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

IT WORKED!! That comma got me screwed up. I guess I didn't realize it was not supposed to be in there.

Thank you sooo much.

I wish there was some more info on where to put the quotations in some of these situations.

I would buy you a beer if I could, again Thank You!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...