PauseResumeScript
Pauses or resumes the script at the specified index. If the script is currently running, it will be paused; if paused, it will be resumed.
In Python, this method is named PauseResumeSelScript.
ScriptIndex — index of the script in the scripts list (as returned by GetScriptsList).
Ставит на паузу или возобновляет скрипт с указанным индексом. Если скрипт выполняется — он будет приостановлен; если приостановлен — возобновлён.
В Python метод называется PauseResumeSelScript.
ScriptIndex — индекс скрипта в списке скриптов (как возвращает GetScriptsList).
procedure PauseResumeScript(ScriptIndex: Word);
def PauseResumeSelScript(ScriptIndex: int) -> None: ...
begin
PauseResumeScript(0);
AddToSystemJournal('Toggled pause/resume for script 0');
end.
PauseResumeSelScript(0)
AddToSystemJournal('Toggled pause/resume for script 0')