Page 1 of 1

sc run produces a "Stepping through a Script" dialog?

Posted: 07 Feb 2019 09:54
by highend
v19.60.0008

I have a several years old script that I use every few days ever since:

Code: Select all

    $curPath = "<curpath>";
    $folderName = "<curfolder>";
    $parentFolder = regexreplace($curPath, "^(.*(?=\\)).*", "$1");
    $winRARCmd = "<xydrive>\Tools\WinRAR\WinRARPortable.exe";

    run """$winRARCmd"" a -r -ep1 ""$parentFolder\$folderName.zip"" ""$curPath\*.*""", , 1;
    goto "$parentFolder";

    setting('BackgroundFileOps', 0);

    delete 1, 0, "$curPath";
    sel "$folderName.zip", , 1;

Now I get the Stepping through a Script dialog window after WinRAR has finished its operation (and no, Scripting - Step Mode is not checked)

Even more weird is, that nothing happens when I run the script from the Scripting - Run Script... dialog oO
If I call it from a user defined button it works, but produces the mentioned effect...
2019-02-07_095233.png

Re: sc run produces a "Stepping through a Script" dialog?

Posted: 07 Feb 2019 10:51
by admin
Could it be fixed in v19.60.0009?

Re: sc run produces a "Stepping through a Script" dialog?

Posted: 08 Feb 2019 10:47
by highend
Yep, fixed with 0009