I was trying to run the LayersToPNG.jsx script to export a PSD and before the options dialog box even appeared I received the follow error message: "Error 22: Window does not have a constructor. Line 233 -> var dialog = new Window("dialog", "Spine" LayersToPNG");
*see attachment for screenshot of the error message
I recently upgraded my system from MacOS Lion to MacOS El Capitan. I never had this error occur while using Lion.
Also, it appears that the file itself isn't the problem since I sent my file to someone else and they were able to run the script for me.
(Also, I'm using PS CS6)
Does anyone have any ideas of ways to fix/get around this error?