Products

Home Forums eaDocX queries Script Control Pop-Up

Home Forums eaDocX queries Script Control Pop-Up

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9294
    David Berke
    Participant

    I am using a Script selected from within the EaDocX profile to generate a large document. When generating the document a pop-up regularly appears stating “Script Control. The script you are executing is taking longer than expected to run. Click End to abort the script, or Continue to continue script execution.
    Although ignoring the pop-up will allow the script to continue, I would prefer to inhibit the message box entirely. Does anyone have a solution for this?

    #9295
    eadocX Support
    Participant

    We don’t seem to have any control over stuff like this. There are other ‘helpful’ timeouts and timeout warnings in COM (the deep techie bits of Windows) which we’ve tried over the years to investigate, but always reach the same dead-end.
    When we test the scripted generation, we only use a few fairly simple cases, where the script makes a couple of calls to EA, and does some simple formatting. We never intended it to do serious number crunching, or large numbers of EA calls.

    #9296
    David Berke
    Participant

    A developer who works closely with us has suggested the following fix:

    eaDocX seems to be using MSScriptControl COM component. Changing the code to set timeout of the script to “-1” will make script run without showing the pop-up message. See this link http://www.jose.it-berater.org/scripting/msscript/iscriptcontrol_timeout.htm

    Are you able to confirm whether this change would resolve the issue and if so, whether it can be implemented possibly as a switch?

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Compare licence prices

Choose the licence that’s right for you and your team

Prices

Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.

Download