Is there any way to return information from an extendscript function to the JavaScript that called it?
For example: I have a button in the HTML that calls an extendscript function with _AdobeInvokeFunctionInScriptFile. I want the extendscript function to return the height of the current Photoshop document so I can display it on the HTML page in the panel.