Wondering if you can help. Doing a piece of BSc coursework. Have to produce an Expert SYstem in Powerpoint (Don't know why)
I have an AVI file I want to call in WMP in full screen and then close once playback is over. The videos are captured at 800*600 from VMWare so embedding them in the PPT file is not really feasible as the target machines are quite old.
I have managed a work around in a batch, file to get suppress the yes/no prompt for opening a batch file I have had to lower the security settings which I may not be able to do on the target system.
I think I need a less sloppy way to do this. I was wondering if a macro would help but I thought a similar thing may occur with the security warning. ALso, I have never worked with VBscript.
Here is my batch file:
REM open WMP folder
cd "windows media player"
REM call wmplayer and load specific file
start wmplayer "i:\filename.avi" /fullscreen
REM make the system wait until the video has finished
REM -n X where X is number of seconds of film
ping -n 15 localhost
REM kill wmp
taskkill /f /im wmplayer.exe