Page 1 of 1

64-bit steals focus where 32-bit did not

Posted: 02 Nov 2025 04:21
by Quaraxkad
I have several scripts that use a foreach loop containing a run command. In 32-bit versions, this would show a "Please wait... The shelled process has not finished yet" dialog box. The box would flicker off and back on for each loop iteration. When this occurs in the 64-bit version, that dialog steals focus and moves to the window to the top, interfering with whatever other work you're doing while waiting for the script to finish.

Re: 64-bit steals focus where 32-bit did not

Posted: 02 Nov 2025 15:05
by phred
From Admin/Don...
Forum users who have their Windows version and screen scaling percentage in the location field of their profile will get priority support. And be sure to state your XY version number in the body of your post. No info in the location field? Be patient and Don will get to you after he takes care of those who have the proper info in the proper place.
XY No Info.jpg
XY No Info.jpg (64.39 KiB) Viewed 349 times

Re: 64-bit steals focus where 32-bit did not

Posted: 10 Nov 2025 06:37
by Quaraxkad
28.00.0502, Win11, 100%

Re: 64-bit steals focus where 32-bit did not

Posted: 11 Nov 2025 13:02
by admin
Got some minimal code for testing?

Re: 64-bit steals focus where 32-bit did not

Posted: 11 Nov 2025 16:56
by Quaraxkad
test.xys

Code: Select all

 $sel = <get selecteditemspathnames |>;
 foreach($file, $sel) {
     $parentdir = getpathcomponent($file, "path");
     run """C:\Programs\XYplorer\Data\Scripts\test.bat"" ""$file""", $parentdir, 1, 0;
 }
test.bat

Code: Select all

timeout /t 5
Select several files, run test.xys, change focus to another app while the script runs.

Re: 64-bit steals focus where 32-bit did not

Posted: 14 Nov 2025 09:14
by admin
Thank you! It's probably a language issue (tB). Unfortunately, this means it will take considerable time to be fixed. I'll get back to you when I have more information.