Hello
I suggest adding an area to add scripts to be skipped when requested to run, if another script is still running.
Or add a separate parameter for each script:
Z:\...\aaa.py | [x] Skip (Skip next, don't wait)
To specify that the same script should skip re-execution,
if the same script is currently being executed.
Skip not the whole queue, but only the execution of this script from its queue,
that started executing before the previous execution of the same script was completed.
This parameter should not affect the execution of other scripts and should display a warning window.
Should only affect the same script.
This is needed for individual scripts that are assigned to npp hotkeys.
And when you accidentally hold such keys longer, there is a "mass" execution of this script.
And as a consequence, this warning window constantly pops up with the whole queue stopping.
Sometimes you need a lot of executions at a time, and don't calculate the key hold time.
Additionally, you can add another parameter to wait for its previous execution if its execution is important.
Then the choice would look like this:
Z:\...\aaa.py | [ ] Skip [x] Wait
and
Z:\...\aaa.py | [x] Skip [ ] Wait
If you add a wait, then you have to watch for loss of focus and make the entire queue stop executing with a warning window displayed!
If you add such a thing I'll report back with test results.
Hello I suggest adding an area to add scripts to be skipped when requested to run, if another script is still running.
Or add a separate parameter for each script:
To specify that the same script should skip re-execution, if the same script is currently being executed. Skip not the whole queue, but only the execution of this script from its queue, that started executing before the previous execution of the same script was completed.
This parameter should not affect the execution of other scripts and should display a warning window. Should only affect the same script.
This is needed for individual scripts that are assigned to npp hotkeys. And when you accidentally hold such keys longer, there is a "mass" execution of this script. And as a consequence, this warning window constantly pops up with the whole queue stopping. Sometimes you need a lot of executions at a time, and don't calculate the key hold time.
Additionally, you can add another parameter to wait for its previous execution if its execution is important. Then the choice would look like this:
and
If you add a wait, then you have to watch for loss of focus and make the entire queue stop executing with a warning window displayed! If you add such a thing I'll report back with test results.
Example:
Example:
You can add an area to customize both of these settings: Skip and Wait I wrote about this earlier in an old similar issue: https://github.com/bruderstein/PythonScript/issues/145#issuecomment-659342498