<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Jari et al,<br>
<br>
Finally I found a solution to this one:<br>
an overlayed progress bar in its own process created with AutoHotkey
and triggered by JW Lua.<br>
This is how it looks: <a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=tU_Iw3aHC8M">https://www.youtube.com/watch?v=tU_Iw3aHC8M</a><br>
(see the new progress bar at the right bottom)<br>
From what I have read this also possible on MacOS with Keyboard
Maestro.<br>
<br>
BTW, the "Green 1" at the top left is another AutoHotkey process it
shows the currently selected layer.<br>
It becomes red when it's not layer 1.<br>
<br>
Jan<br>
<br>
<div class="moz-cite-prefix">Am 27.07.2017 um 20:30 schrieb Jari
Williamsson:<br>
</div>
<blockquote type="cite"
cite="mid:65cd4255-9a28-0272-0bff-62bdb989254f@mailbox.swipnet.se">Jan,
<br>
<br>
Finale is basically single-threaded in how it handles data (which
is basically the same way as 16-bit Finale back in the early
days), and the main thread is also the thread that paints the
screen. So a JW Lua script is executed in the main thread.
<br>
<br>
Finale 25 seems to have some multithreading going on (I strongly
suspect that HP processes data parallel to the playback thread in
Finale 25), so I don't know how this will be in the future.
<br>
<br>
<br>
Best regards,
<br>
<br>
Jari Williamsson
<br>
<br>
<br>
On 2017-07-27 11:57, Jan Angermüller wrote:
<br>
<blockquote type="cite">Jari,
<br>
<br>
when running long scripts, Finale (or Windows?) sometimes
freezes the screen update.
<br>
<br>
If you look at this video (
<a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=0ugMNTzJAPg">https://www.youtube.com/watch?v=0ugMNTzJAPg</a> ), you see that
Finale's screen update freezes after about 15 seconds although
it internally still changes part scopes and views regularly.
Finale is still working fine in the background until it finishes
(in the video at 25 seconds) and finally refreshes the screen.
<br>
<br>
Do you know of the cause? Is this a general Finale or OS
multi-thread/multi-tasking problem when running long
scripts/functions? I know that things like this used to happen
in other software as well - but this was years ago in Windows
XP. All software I use nowadays regularly updates the screen
during processing.
<br>
Would adding another refresh, repaint, update, etc. function to
the progress bar solve the problem? Its value actually updates
during the freeze, but it's not visible.
<br>
<br>
Best,
<br>
Jan
<br>
<br>
<br>
_______________________________________________
<br>
JWLua mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<br>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
<br>
<br>
</blockquote>
<br>
<br>
<br>
_______________________________________________
<br>
JWLua mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<br>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
<br>
</blockquote>
<br>
</body>
</html>