No response when adding script task to queue

Things you’d like to miss in the future...
Post Reply
Kenbol
Posts: 16
Joined: 23 Sep 2021 04:44

No response when adding script task to queue

Post by Kenbol »

Start the test,it's all done,no response occurs after running multiple times,then there is no response for each run,restart the computer and open new XY package,still the same.
Attachments
Test.xys
(170.9 KiB) Downloaded 48 times
NoResponding2.gif
NoResponding2.gif (167.29 KiB) Viewed 453 times
NoResponding.gif
NoResponding.gif (115.56 KiB) Viewed 453 times

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: No response when adding script task to queue

Post by highend »

Add a wait 1; after each copyto statement...

And the whole "problem" could have been shown without uploading a 178kb large "script"...

Code: Select all

    // Edit this (no trailing backslash)
    $src = "R:";

    $file = "$src\1.txt";
    if (exists($file) != 1) { new($file); }

    // Set this to 3500 if you dare^^
    while ($i++ < 500) {
        copyto "$src\Test\1000000000" . format($i, "0000"), $file, , 2;
        wait 1;
    }
One of my scripts helped you out? Please donate via Paypal

Kenbol
Posts: 16
Joined: 23 Sep 2021 04:44

Re: No response when adding script task to queue

Post by Kenbol »

Thanks for the reply,I was just about to ask if there was a timeout 1...
Attachments
timeout.PNG
timeout.PNG (10.38 KiB) Viewed 443 times

Post Reply