The scenario would be as follows : once profile for 2.35 aspect ratio is automatically triggered, it will run also a .bat file allowing to send command to my videoprojector for zooming.
As I said all of this work, I just need to run the .bat file manually by pressing a programmed key on my PC keyboard.
This is now possible with MC 33.0.52 or above, which adds a
Before playback expression setting and a
ShellRun() function.
1. create your batch file so that it takes the AR as an argument (e.g., setZoom.bat)
2. set Before Playback expression to:
if(isEqual([media type],Video), shellrun(cmd, //c c:\scripts\setZoom.bat [Aspect Ratio], 3), )You can use [Aspect Ratio] or any other field(s) that you like.
ShellRun()'s Mode 3 will wait for the batch to finish before starting playback; use mode 1 if waiting is not required.