Please forgive me if my question seems stupid, but my experience with js, jsx and web technologies is very limited (console programming background). I need to run external tool to pack the layers exported as png files. I can call window.cep.process.createProcess from my js entry point file, but window is not defined in any jsx file. Is it possible to pass the function as a callback (or maybe the whole window object) when I call the function from my jxs script with evalScript(...)? Is there any other way to start external process from jsx files?
Thank you!