No response when adding script task to queue

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
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 87 times
NoResponding2.gif
NoResponding2.gif (167.29 KiB) Viewed 672 times
NoResponding.gif
NoResponding.gif (115.56 KiB) Viewed 672 times

highend
Posts: 14716
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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 662 times

Post Reply