[JW Lua] Some issues
Jari Williamsson
jari.williamsson at mailbox.swipnet.se
Sun Sep 22 09:59:55 CEST 2013
On 2013-09-21 18:31, Charles O. Lawrence wrote:
> 1.JWLua does not show up in the JW Plug-in Manager. Is this by design
> or an oversight?
By design. It'll arrive there later, but not before the script
repository is available.
> 2.I am probably the only one to have done this, but I managed to get
> myself into an endless repeat-until loop with a modal alert box. There
> is no way to break out of such a situation in a clean way. A Break
> button on the Development page would not work, since the alert box
> demanded attention first, maybe a CTRL-C would work.
I intended to answer your previous message about the Alert boxes, but
apparently I never did. It's a bug if these boxes aren't at least
application modal on Windows (they are on Mac).
"finaleplugin.RequireSelection = true" should not require any extra
checks or alerts from the script.
In recent Windows versions, the Task Manager is not good at closing a UI
that is locked in a modal loop (as you've discovered). If Windows sees
that the message queue to the application behaves/responds correctly, it
tries to send a "close" the application instead of destroying the
process (which would not work in this case). You could try "taskkill /IM
finale.exe", although I tested it myself. The Task Manager is much
better at closing things not related to the UI, such as an endless
calculation loop.
The error you get about PDK Tools is not related to JW Lua. (JW Lua
doesn't use PDK Tools.)
If I get a debugger in place, I'll try to add a "stop script" feature there.
Best regards,
Jari Williamsson
More information about the JWLua
mailing list