SPONSORS:






User Tag List

Results 1 to 8 of 8
  1. #1
    Guest

    ExecLine(0 function generating error

    I'm trying to use the ExecLine() function in order to run some Javascript. However, Silk gives me the following error:

    [ ] *** Error: Function BrowserChild::ExecLine has not been registered

    Don't know what this means other than thinking that it's permanently unavailable to me for some reason. Other posts suggest that this function is available, even if not supported by Segue.

    Any suggestions please ?

    Thanks.

    ------------------

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ExecLine(0 function generating error

    Which version of Silk are you using.
    I run 5.32 and it works.

    You use it like this:

    BrowserPage.ExecLine('alert(document)')

    ------------------

  3. #3
    Guest

    Re: ExecLine(0 function generating error

    I'm running 5.5

    ------------------

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ExecLine(0 function generating error

    Can you paste me the help on ExecScript() and ExecLine() here or GodKnows2001@hotmail.com??


    ------------------

  5. #5
    Guest

    Re: ExecLine(0 function generating error

    Thanks for reply Godknows.
    Please see file attachment for the help you
    requested.

    Please note that I tried the "hello world" example but got the same error.

    Also, FYI, I'm using IE5.5 as the browser, running
    on W98.

    Thanks.

    ------------------

  6. #6
    Guest

    Re: ExecLine(0 function generating error

    BREAKING NEWS!
    I've just re-read the 5.5 release notes, and I noticed that the reference (on page 4) to ExecLine() and ExecScript() is under the "New Features for the DOM Extension".
    I'm using the VO extension. That's got to be
    the problem?

    I may be able to use the technique of switching the extension to DOM from within the test case when I run one of these exec functions, then switch back to VO again.

    I'm report back once I've tried this!

    ------------------

  7. #7
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ExecLine(0 function generating error

    I am sad about how little information they provide with these new functions.

    I know that it works on win2k/NT with IE5.0 IE5.5 using DOM.

    I believe that you have tried the javascript:alert("hello") in the location bar too?? This will test if your browser handles javascript the way silk expects it.

    You have to contact Segue, if everything fails.

    ------------------


    [This message has been edited by GodKnows (edited 08-09-2001).]

  8. #8
    Guest

    Re: ExecLine(0 function generating error

    I tried switching to DOM programatically and that seems to work. ExecLine() runs a Javascript. I didn't try ExecScript but my guess is that will work also.

    The Javascript I'm trying to run has a problem but that's another issue, nothing to do with Silk.

    Therefore, I now have the fix !
    Thanks Godknows for your suggestions !

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:24 AM.

Copyright BetaSoft Inc.