Disable Screen Update During Script Execution

Disable Screen Update During Script Execution

richard.crist

    Jul 12, 2007#1

    Does anyone know if there is a way to disable screen updating when a script is running? Sometimes once a script runs for a while the screen update will pause until the script is over. I would like to disable the screen update myself so that keystrokes and other script commands are not reflected on the screen until script completion. At the same time I would still like the output window to continue to update as normal. Perhaps this is a simple task, but I have searched and have not found an answer so far. Any help would be appreciated! 8)

    262
    MasterMaster
    262

      Jul 13, 2007#2

      It's not possible to control screen updating from a script. And, yeah, I have noticed the same strange thing that screen updates pause after a while in long running scripts.

      It think the scripting in UE is still evolving, so you could always request a new feature by sending an e-mail to IDM support (e-mail at top of the page).

      richard.crist
      richard.crist

        Jul 13, 2007#3

        Thank you! I thought as much. I'm sure that the UE folks are most likely already working on this and many other ideas, but I will send in a request just to make sure. :)

        By the way, thank you for your post about determining the active document's index in topic Get Active Document's Index
        It really helped and I use it a lot. I have it stored as a template and it really comes in handy.

        21
        Basic UserBasic User
        21

          Jul 16, 2007#4

          What about setting another file as active window?
          You'll not see the changes made in your tab.
          Don't know, if the behaviour changes, but you'll suspress the screenupdate.

          richard.crist
          richard.crist

            Jul 18, 2007#5

            That is my next step. I wanted to do that before with script but could not figure out how to determine the current file's index. jorrasdk's post which I mentioned in my reply above showed me how to do that. Now I can note the current buffer's index and create a new one or switch to another one and see if the updates to the non-visible buffer occur without screen activity. I'll reply with my results once I try it. Thanks!

            2
            NewbieNewbie
            2

              Jul 07, 2009#6

              Hello,

              is it planned to fix this in any future release ?
              In UE15 the screen still flickers, when you do a long search/replace run.
              An option to diable the screen refresh during script execution would be great.

              Many thanks. Askedal.