Disable Screen Update During Script Execution

Help with writing and running scripts

Disable Screen Update During Script Execution

Postby richard.crist » Thu Jul 12, 2007 5:05 pm

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)
richard.crist
 

Re: Disable Screen Update During Script Execution

Postby jorrasdk » Thu Jul 12, 2007 7:09 pm

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).
User avatar
jorrasdk
Master
Master
 
Posts: 275
Joined: Mon Mar 19, 2007 11:00 pm
Location: Denmark

Re: Disable Screen Update During Script Execution

Postby richard.crist » Fri Jul 13, 2007 4:37 pm

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.
richard.crist
 

Re: Disable Screen Update During Script Execution

Postby Jaretin » Mon Jul 16, 2007 9:23 am

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.
User avatar
Jaretin
Basic User
Basic User
 
Posts: 19
Joined: Sun Mar 25, 2007 11:00 pm

Re: Disable Screen Update During Script Execution

Postby richard.crist » Tue Jul 17, 2007 11:56 pm

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!
richard.crist
 

Re: Disable Screen Update During Script Execution

Postby Askedal » Tue Jul 07, 2009 8:17 am

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.
User avatar
Askedal
Newbie
 
Posts: 2
Joined: Thu Jan 05, 2006 12:00 am


Return to Scripts