Scott,

I had a similar problem the other day. I had to force RunRev to parse the result into a string by adding single quotes. As Andre mentioned already, adding parentheses might help too.

get revBrowserCallScript(sBrowserId, "result = testMe()+''")

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 22 jul 2010, at 13:29, Scott Rossi wrote:

Has anybody gotten the revBrowserCallScript function to work on OS X?

No matter what I do, I seem to continually get errors when trying to use this function. Even when doing a simple test function, Rev says an error
occurred:
card "videos": execution error at line n/a () near "-[WebUndefined
cStringUsingEncoding:]: unrecognized selector sent to instance 0x19790990"

-- Rev script
get revBrowserCallScript(sBrowserId, "testMe")

-- Javascript function on local test page
function testMe() {
  alert("got message");
}

The frustrating part of this is the alert message gets displayed as
expected, and after clicking OK, Rev throws the error.

Anyone have any suggestions to troubleshoot this?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to