Page 1 of 1

revBrowserCallScript on Windows

Posted: Thu Dec 23, 2010 3:33 pm
by cborn
I am trying to use revBrowserCallScript in a desktop application on Windows and I continue to get "error in script". I've tried a number of different formulations, but none of them seem to work. There is a Javascript function on the page that is loaded into the browser called get_uploadparams() that is to return an array of parameters, but no matter how I try to call it to return the path, LC errors on the script.

I have tried:

Code: Select all

get revBrowserCallScript(sBrowserID, "get_uploadparams")
get revBrowserCallScript(sBrowserID, "get_uploadparams()")
get revBrowserCallScript(sBrowserID, "get_uploadparams();")
At the moment, I am just trying to handle the return with

Code: Select all

answer it
, so that I can see what I get and decide how to deal with it. But LC chokes on the revBrowserCallScript every time.

Am I doing something wrong? There seems to be little about this function on the forums, does it work for everyone but me :?: ?

Re: revBrowserCallScript on Windows

Posted: Mon Jan 10, 2011 1:34 am
by Mark
Hi Cborn,

Does your script run correctly if called by another JS function in the website, while runing in IE?

Best,

Mark

Re: revBrowserCallScript on Windows

Posted: Fri Jan 14, 2011 6:36 pm
by interactbooks
I am having the same exact problem. When running the stand alone on the Mac, I receive no errors, but when running on Windows I receive JavaScript errors in the browser. These errors do not occur when I browse the site directly from a browser.

The error I am receiving is:

"Can't move focus to the control because it is not visible, not enabled or of a type that does not receive focus"

Re: revBrowserCallScript on Windows

Posted: Fri Jan 14, 2011 6:45 pm
by interactbooks
Quick follow up, we discovered that the error being received was an error on the web site itself. Would be nice if the browser control allowed us to suppress errors.