Skip to main content
Participant
November 19, 2015
Question

Returned data from evalScript on Mac OSX vs PC (Win)

  • November 19, 2015
  • 0 replies
  • 240 views

Hey,

I'm running into a very annoying yet show-stopping issue with CEP ExtendScript.

Included in my app is CSInterface-4-0-0.js. From within my app I call:

var csInterface = new CSInterface();

csInterface.evalScript('$.myFunc();', function(result) {

alert(result);

});

And myFunc running in its own JSX:

(inside $ namespace)

var myFunc = function() {

return 'Hi there';

}

Running the same code on PC results in alert message containing Hi there while on Mac OSX I get an empty alert box (empty string)..


Am I missing something? (Both have PlayerDebugMode set to 1 and Allow network and file access setting marked to true)

Please help!

This topic has been closed for replies.