![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
How do you do....it? How do you do....it? sponsored by |
| ||
| | | LinkBack | Thread Tools | Search Thread |
| Sponsored Links |
| | #1 |
![]() Join Date: May 2008 Location: Accrington
Posts: 80
Thanks: 16
Thanked 4 Times in 3 Posts
Rep Power: 5 | Hi All 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: @echo off REM open WMP folder c: cd\progra~1 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 ~~~~~~~~ end ~~~~~~~~ any suggestions? Any |
| |
| | #2 |
![]() Join Date: Feb 2007 Location: Northamptonshire
Posts: 3,607
Thanks: 219
Thanked 528 Times in 482 Posts
Rep Power: 121 | Using /play and /close together means it plays and then closes. /fullscreen as you know runs it in full screen. The above should work but I'm not on a windows box to test it out on. - It may need the arguments taking outside of the quotes but I'm not certain. Hope this helps. |
| |
| Thanks to kmount from: | NickHoughton (24-05-2008)
|
| | #3 |
![]() Join Date: May 2008 Location: Accrington
Posts: 80
Thanks: 16
Thanked 4 Times in 3 Posts
Rep Power: 5 | works a treat Many thanks I had googled the wmplayer CLI arguments but didn't see that not sure how to get around the security settings, though... |
| |
| | #4 |
![]() Join Date: Feb 2007 Location: Northamptonshire
Posts: 3,607
Thanks: 219
Thanked 528 Times in 482 Posts
Rep Power: 121 | What security settings? |
| |
| | #5 |
![]() Join Date: May 2008 Location: Accrington
Posts: 80
Thanks: 16
Thanked 4 Times in 3 Posts
Rep Power: 5 | In powerpoint 2003, tools > options > security > macro security there are 4 settings. If you don't choose the "low" option powerpoint prompts with a potentially unsafe file type message and provides a yes no box |
| |
| | #6 |
![]() Join Date: Feb 2007 Location: Northamptonshire
Posts: 3,607
Thanks: 219
Thanked 528 Times in 482 Posts
Rep Power: 121 | Do 'all' filetypes have this warning I wonder ... I mean, is it throwing its toys out of the pram by opening the mediaplayer executable, or the batchfile itself? If its the batchfile, we could try using AutoIT to come up with an EXE that effectively embeds the batch file in it. |
| |
| | #7 |
![]() Join Date: May 2008 Location: Accrington
Posts: 80
Thanks: 16
Thanked 4 Times in 3 Posts
Rep Power: 5 | appears to be any .exe, .bat. .com files |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DVD playback - what programs are you using? | Halfmad | Windows | 26 | 13-08-2009 11:24 AM |
| [Joke] Work Exit Interview | Elky | Jokes/Interweb Things | 16 | 24-05-2008 02:52 PM |
| Forcing the issue | Bestbett | Windows | 7 | 14-01-2008 05:19 PM |
| .avi Playback problems | richard | Windows | 14 | 12-11-2007 03:04 PM |
| DBATTACH exit code | ajbritton | MIS Systems | 0 | 24-11-2006 12:31 PM |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search Thread |
| |









