jt49 Posted October 4, 2016 Report Share Posted October 4, 2016 When using the Run command in Window, I can do the following: I can start MPC-HC using: "C:\Program Files\MPC-HC\mpc-hc64.exe" I can start MPC-HC and run a video using: "C:\Program Files\MPC-HC\mpc-hc64.exe" "D:\videos\MyVideo.mp4" I can start MPC-HC and run a video at full screen using: "C:\Program Files\MPC-HC\mpc-hc64.exe" "D:\videos\MyVideo.mp4" "/fullscreen" When using the command "Run external application" in the Slide Options of PTE, the third command including a command line switch (to run the video at full screen) does not work for me. Does anybody know how to pass command line switches when using "Run external application"? Regards jt49 Link to comment Share on other sites More sharing options...
denisb Posted October 5, 2016 Report Share Posted October 5, 2016 Hi, for me the command: MPC-HC.1.7.7.x86\mpc-hc.exe /play /fullscreen /close video1.mp4 works well If there is space in the file name use "" I use a portable MPC-HC Regards Denis Link to comment Share on other sites More sharing options...
nobeefstu Posted October 5, 2016 Report Share Posted October 5, 2016 jt49, concerning your command line string : "C:\Program Files\MPC-HC\mpc-hc64.exe" "D:\videos\MyVideo.mp4" "/fullscreen" MPCHC does not seem to accept file switches within double " " when used with PTE... as your "D:\videos\MyVideo.mp4" "/fullscreen" *Your full file string should work like this : "C:\Program Files\MPC-HC\mpc-hc64.exe" D:\videos\MyVideo.mp4 /fullscreen ------ *or as Denis extra switches which guarantees the video player closes once the video file ends ... which is much better for control ... should work like this : "C:\Program Files\MPC-HC\mpc-hc64.exe" /play /fullscreen /close D:\videos\MyVideo.mp4 ----- * for users finding this all so confusing using switches in command line strings ... its also possible to set the MPCHC options to launch files in Fullscreen. (See image) . Its just not as flex able when it concerns other wanted control. Link to comment Share on other sites More sharing options...
jt49 Posted October 5, 2016 Author Report Share Posted October 5, 2016 Many thanks to both of you! Regards, jt49 Link to comment Share on other sites More sharing options...
nobeefstu Posted October 5, 2016 Report Share Posted October 5, 2016 Just as a additional reminder to users wanting to use Slide Options | Run External Application feature : Its not possible for the Run External Application feature to launch on the first SLIDE of your slideshow project (in case you are having problems)... use the feature on your second SLIDE (or following slides) for it to execute. (It use to be possible from the first Slide many versions ago ... but this has changed now) * Some PC OS may also require you to enable PTE's Project Options | Screen | Non-Exclusive Fullscreen Mode setting. Otherwise the launched application may be displaying underneath your slideshow.. Link to comment Share on other sites More sharing options...
denisb Posted October 5, 2016 Report Share Posted October 5, 2016 Hi, I run external application from the first slide (I made a menu on the first slide) The first time, a double-click is necessary. Denis Link to comment Share on other sites More sharing options...
nobeefstu Posted October 5, 2016 Report Share Posted October 5, 2016 Denis, I suspect you are using objects (buttons, etc) to launch your external files from the first SLIDE and not the Slide Options | Run External Application checkbox ? I would like to make it clear to users that I was referencing only the Slide Options | Run External Application checkbox feature which is automatic ... and not objects (buttons, etc) which are clickable. (See Image) Link to comment Share on other sites More sharing options...
davegee Posted October 5, 2016 Report Share Posted October 5, 2016 Stu, My only interest in this is in ensuring that the Online Help is correct (ongoing task) and I tried this feature. Sure enough, you cannot use it on the First Slide which begs the question: "Why can you set it if it will not work"? Should it be "Greyed Out" on the First Slide in Slide Options? Something to ask Igor sometime? If slide two has a transition the External Application is triggered when Slide 1 is still at 100% Opacity and is left on screen behind the External Application. Thanks, DG Link to comment Share on other sites More sharing options...
denisb Posted October 6, 2016 Report Share Posted October 6, 2016 You are right nobeefstu, I use objects on the first slide, not the "run application" on the slide options. Denis Link to comment Share on other sites More sharing options...
nobeefstu Posted October 6, 2016 Report Share Posted October 6, 2016 Dave, There was minor discussion with Igor when this issue was first discovered/reported ... but I can not remember any of the details that were posted as to why it was changed. I did check some of my old versions and see that the issue first appeared on v5.6. As to being greyed out on the first slide ... or a pop-up notice warning users on first slide application of the feature is not possible.The pop-up notice warning could be displayed when ever the feature is enabled or labeled on the Slide Options panel. * Since Run Slideshow was first introduced in v5.6 ... that may have been part of the reason of the change. Link to comment Share on other sites More sharing options...
Recommended Posts