Thanks Marbles but I think you misunderstood. I can do this from the remote/IR. I wanted to be able to have XL run a command once Zoom Player closes. Zoom will close once the movie is over automatically.
I got it working by running the movie with a batch file and using the Start /W command which will wait till the Zoom window is closed then run the next command, Xsend in this case.
Here is what I did in case it helps someone else.
My XL event to launch the movie is:
- Code: Select all
-Execute File
---File: c:\playmovie.bat
---Arguments: "%movies>parameter%"
---Working Dir: c:\
Created a bat file: c:\playmovie.bat
Bat file looks like this:
- Code: Select all
start /w C:\progra~1\Zoompl~1\zplayer.exe %1 /f /q /play
xsend.exe "xlobby:goto screen:movies" 8000 127.0.0.1
This is just a test that will launch the movie and once zoom is closed it will goto my Movies page.
Hope this helps someone else.