Skip to content

Close event not detected after switching to another desktop and back #19

@fiso64

Description

@fiso64

Consider the script

#include WinEvent.ahk
WinEvent.Close((*) => MsgBox("notepad closed"), "ahk_exe notepad.exe")

To reproduce:

  1. Open notepad.exe on the first virtual desktop
  2. Switch to the second desktop (a message box should appear)
  3. Switch back to the first desktop and close notepad
  4. No message box appears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions