When importing jobs, the confirmation dialog box that warns the user that a job is referenced by another component sometimes gets hidden behind other windows. There is no way to bring this window to the foreground, it is not in the Alt-Tab list and bringing the import progress window to the front does not bring this dialog with it. The only way is to minimize all the other windows that are in front of it, which is not always possible if there is an application that is busy or is waiting for its own modal dialog box.
I have written a short script in
AutoIt that brings this dialog box to the foreground, or indicates that no such dialog box was found. It can be compiled to a standalone executable but I don't have anywhere to post the .exe to right now.
Code: Select all
const $WinTitle = "Confirm import of:"
If WinGetHandle($WinTitle) <> "" Then
WinActivate($WinTitle)
Else
MsgBox(0,"Rescue","Confirmation dialog box not found")
EndIf