LiveCode IDE实用程序需要不间断地完成任务

spl*_*h21 1 ide livecode

在LiveCode IDE中运行的实用程序插件需要经常完成数据库更新任务.重要的是任务不会被用户打断 - 他们可能正在处理另一个堆栈.有没有办法禁用标准的ctrl +句点,并避免任务被中途停止一半?

run*_*ark 5

您可以使用全局'allowInterrupts'属性:

  set the allowInterrupts to false
  ... task you don't want interrupted ...
  set the allowInterrupts to true

虽然此属性为false,但Ctrl-Period无效.