Code: Select all
WinGetTitle: Setup
ProcessGetName: CodeSetup-stable-6261075646f055b99068d3688932416f2346dd3b.tmp
width: 0
height: 0
ProcessGetPath: \AppData\Local\Temp\is-JG9KB.tmp\CodeSetup-stable-6261075646f055b99068d3688932416f2346dd3b.tmp
WinGetClass: TApplication
Parent:
CodeSetup-stable-6261075646f055b99068d3688932416f2346dd3b.exe
\AppData\Local\Temp\vscode-update-user-x64\CodeSetup-stable-6261075646f055b99068d3688932416f2346dd3b.exe
The issue I have is that when I try to do (eg) winhide on this window, winhide doesn't return, the script hangs or at the very least stalls. Sometimes I manage to close the script via the tray menu, sometimes I need to end the process via ^!del. I had some success via dllcall(SetWindowPos) and flag SWP_ASYNCWINDOWPOS but couldn't reproduce this now. But this wouldn't help me because I also wanted to use WinSetTransparent which also hangs with this window.
Context, I do stuff with visible windows, I filter by non-blank window title. This is simple and fast and worked well for a long time. Now I will work around by also filter out zero width and height windows. But, I am interested in a general way to identify windows which causes issues like this. This might be something which can be handled by AHK itself. It was not very easy to find out why my script suddenly started to hang.
Cheers.
Edit, tried to fix some of the poor spelling/grammar