batchPlay "open image" operation is failing on Mac computer. Works on Windows. Any reason why?

I’m gonna guess what you are looking for is the path module:

In a nutshell, paths are written differently depending on OS and the path module will make them cross-platform.