answer:Each window on the Mac belongs to an application. Probably the easiest way to raise the alert window is to raise the application posting it. There is AppleScript verbiage to do this, something like: tell application “Xyz” to activate If the dialog is posted by an AppleScript ‘display dialog’ command, then the dialog is owned by the app named by the innermost ‘tell’ block containing the display dialog statement. —from an Apple discussion — I didn’t see any “activate” mentioned in your code snippet, so I hope that helps.