I have developed a PowerPoint presentation that when the presentation is running, a macro is executed on each slide. (I used this guide here... https://www.experts-exchange.com/articles/17410/Initializing-PowerPoint-Events-with-VBA-and-Ribbon-XML.html
The macro checks if a .jpg file exists, and if it does, the macro jumps the presentation to specific slide that use the .jpg as a linked image.
An external application creates the .jpg file. Once the presentation has played that slide, it deletes the .jpg file.
I want to also "mute VLC player" when jumping to the slide.
I am using nircmdc.exe (http://www.nirsoft.net/utils/nircmd.html
) to mute the vlc application from commandline.
My macro uses the shell command to execute the nircmdc.exe command.
nircmdFilePath = ActivePresentation.Path & "\nircmdc.exe"
If Len(Dir(nircmdFilePath)) > 0 Then
Call Shell(nircmdFilePath & " muteappvolume vlc.exe 1", vbMinimizedFocus)
The problem is, when the command is executed, because another application opens the PowerPoint show pauses.
The show is running on an unmanned kiosk. So it's not practical to keep clicking "Resume show"
Does anyone know a way around this?